// 文档 https://github.com/hooke007/MPV_lazy/wiki/4_GLSL

//!HOOK LUMA
//!WHEN OUTPUT.w LUMA.w 2.200 * > OUTPUT.h LUMA.h 2.200 * > *
//!WIDTH LUMA.w 3 *
//!HEIGHT LUMA.h 3 *
//!COMPONENTS 1
//!BIND LUMA
//!SAVE LANCZOS3
//!DESC [AiUpscale_HQ_Sharp_3x_LineArt] lanczos3

#define FIX(c)		max(abs(c), 1e-5)
#define PI		3.141592653

vec3 weight3(float x)
{
    vec3 s = FIX(2.0 * PI * vec3(x - 1.5, x - 0.5, x + 0.5));
    return sin(s) * sin(s / 3.0) / (s * s);
}

float line_run(float ypos, vec3 xpos1, vec3 xpos2, vec3 linetaps1, vec3 linetaps2)
{
    return float(LUMA_tex(vec2(xpos1.r, ypos))) * linetaps1.r + float(LUMA_tex(vec2(xpos1.g, ypos))) * linetaps2.r + float(LUMA_tex(vec2(xpos1.b, ypos))) * linetaps1.g + float(LUMA_tex(vec2(xpos2.r, ypos))) * linetaps2.g + float(LUMA_tex(vec2(xpos2.g, ypos))) * linetaps1.b + float(LUMA_tex(vec2(xpos2.b, ypos))) * linetaps2.b;
}

vec4 hook()
{
    vec2 pos = LUMA_pos + LUMA_pt * 0.5;
    vec2 f = fract(pos / LUMA_pt);

    vec3 linetaps1 = weight3(0.5 - f.x * 0.5);
    vec3 linetaps2 = weight3(1.0 - f.x * 0.5);
    vec3 columntaps1 = weight3(0.5 - f.y * 0.5);
    vec3 columntaps2 = weight3(1.0 - f.y * 0.5);

    float suml = dot(linetaps1, vec3(1.0)) + dot(linetaps2, vec3(1.0));
    float sumc = dot(columntaps1, vec3(1.0)) + dot(columntaps2, vec3(1.0));
    linetaps1 /= suml;
    linetaps2 /= suml;
    columntaps1 /= sumc;
    columntaps2 /= sumc;

    vec2 xystart = (-2.5 - f) * LUMA_pt + pos;
    vec3 xpos1 = vec3(xystart.x, xystart.x + LUMA_pt.x, xystart.x + LUMA_pt.x * 2.0);
    vec3 xpos2 = vec3(xystart.x + LUMA_pt.x * 3.0, xystart.x + LUMA_pt.x * 4.0, xystart.x + LUMA_pt.x * 5.0);

    return vec4(line_run(xystart.y, xpos1, xpos2, linetaps1, linetaps2) * columntaps1.r + line_run(xystart.y + LUMA_pt.y, xpos1, xpos2, linetaps1, linetaps2) * columntaps2.r + line_run(xystart.y + LUMA_pt.y * 2.0 , xpos1, xpos2, linetaps1, linetaps2) * columntaps1.g + line_run(xystart.y + LUMA_pt.y * 3.0 , xpos1, xpos2, linetaps1, linetaps2) * columntaps2.g + line_run(xystart.y + LUMA_pt.y * 4.0 , xpos1, xpos2, linetaps1, linetaps2) * columntaps1.b + line_run(xystart.y + LUMA_pt.y * 5.0 , xpos1, xpos2, linetaps1, linetaps2) * columntaps2.b, 0, 0, 0);
}

//!HOOK LUMA
//!WHEN OUTPUT.w LUMA.w 2.200 * > OUTPUT.h LUMA.h 2.200 * > *
//!COMPONENTS 4
//!BIND LUMA
//!SAVE FEATURE1
//!DESC [AiUpscale_HQ_Sharp_3x_LineArt] feature map 1

vec4 hook()
{
vec4 res = vec4(-0.005852437578142,-0.406566321849823,0.023346748203039,0.334910720586777);
res += vec4(0.031583905220032,-0.029997542500496,-0.014331235550344,0.033738389611244) * float(LUMA_texOff(vec2(-2,-2)));
res += vec4(-0.001501920283772,-0.057783704251051,0.035546723753214,-0.043859578669071) * float(LUMA_texOff(vec2(-2,-1)));
res += vec4(0.109514884650707,0.060521189123392,-0.135234579443932,-0.000250374723691) * float(LUMA_texOff(vec2(-2,0)));
res += vec4(0.039898347109556,0.037605512887239,0.138736054301262,-0.059503179043531) * float(LUMA_texOff(vec2(-2,1)));
res += vec4(-0.014851756393909,0.007636750582606,-0.025843385607004,-0.009181737899780) * float(LUMA_texOff(vec2(-2,2)));
res += vec4(0.031008765101433,0.031841531395912,-0.067335546016693,-0.042964302003384) * float(LUMA_texOff(vec2(-1,-2)));
res += vec4(-0.063077181577682,0.092433832585812,-0.013116567395627,0.002929149661213) * float(LUMA_texOff(vec2(-1,-1)));
res += vec4(0.020856492221355,0.248474001884460,0.027025835588574,0.002350989729166) * float(LUMA_texOff(vec2(-1,0)));
res += vec4(-0.058277692645788,0.047548279166222,-0.000491689366754,-0.022827595472336) * float(LUMA_texOff(vec2(-1,1)));
res += vec4(0.109491981565952,-0.077430792152882,0.010800800286233,-0.075174957513809) * float(LUMA_texOff(vec2(-1,2)));
res += vec4(-0.004328665789217,-0.001657323795371,0.012872947379947,-0.038883790373802) * float(LUMA_texOff(vec2(0,-2)));
res += vec4(-0.014565519057214,0.005606928374618,0.053791034966707,-0.100156120955944) * float(LUMA_texOff(vec2(0,-1)));
res += vec4(-0.090954050421715,0.359939783811569,-0.053581312298775,-0.383826941251755) * float(LUMA_texOff(vec2(0,0)));
res += vec4(0.081348739564419,0.007737199775875,0.031785961240530,0.078174151480198) * float(LUMA_texOff(vec2(0,1)));
res += vec4(-0.053678207099438,0.126453503966331,-0.036679543554783,0.148030191659927) * float(LUMA_texOff(vec2(0,2)));
res += vec4(-0.126735419034958,0.074551895260811,0.061789371073246,0.045847348868847) * float(LUMA_texOff(vec2(1,-2)));
res += vec4(0.072753816843033,-0.082509778439999,-0.002905332250521,-0.000363832601579) * float(LUMA_texOff(vec2(1,-1)));
res += vec4(0.078637324273586,0.280412524938583,0.040756300091743,-0.070082716643810) * float(LUMA_texOff(vec2(1,0)));
res += vec4(-0.125328630208969,0.073728896677494,-0.094278022646904,0.071827262639999) * float(LUMA_texOff(vec2(1,1)));
res += vec4(-0.002052077092230,-0.068495839834213,0.046096712350845,-0.024379333481193) * float(LUMA_texOff(vec2(1,2)));
res += vec4(0.012530437670648,-0.054908838123083,-0.024599658325315,-0.052554886788130) * float(LUMA_texOff(vec2(2,-2)));
res += vec4(0.030315328389406,0.042131543159485,-0.048490934073925,-0.012595135718584) * float(LUMA_texOff(vec2(2,-1)));
res += vec4(-0.110550038516521,-0.064147830009460,0.077172547578812,0.004981418605894) * float(LUMA_texOff(vec2(2,0)));
res += vec4(0.114525653421879,0.024356437847018,-0.011533360928297,-0.011249456554651) * float(LUMA_texOff(vec2(2,1)));
res += vec4(-0.039110001176596,0.053083233535290,-0.029765836894512,0.059125773608685) * float(LUMA_texOff(vec2(2,2)));
return res;
}

//!HOOK LUMA
//!WHEN OUTPUT.w LUMA.w 2.200 * > OUTPUT.h LUMA.h 2.200 * > *
//!COMPONENTS 4
//!BIND LUMA
//!SAVE FEATURE2
//!DESC [AiUpscale_HQ_Sharp_3x_LineArt] feature map 2

vec4 hook()
{
vec4 res = vec4(-0.010925312526524,0.148095443844795,-0.125456199049950,0.050847120583057);
res += vec4(0.122255571186543,0.011935785412788,0.022456470876932,-0.100315682590008) * float(LUMA_texOff(vec2(-2,-2)));
res += vec4(0.001554806949571,-0.054410088807344,-0.022645784541965,0.148550838232040) * float(LUMA_texOff(vec2(-2,-1)));
res += vec4(-0.077759020030499,0.042163178324699,-0.033275842666626,-0.135266125202179) * float(LUMA_texOff(vec2(-2,0)));
res += vec4(-0.049416873604059,0.049906410276890,0.082166098058224,0.025366231799126) * float(LUMA_texOff(vec2(-2,1)));
res += vec4(-0.000984832993709,-0.033894039690495,-0.026049602776766,0.122989051043987) * float(LUMA_texOff(vec2(-2,2)));
res += vec4(-0.025917708873749,0.086302503943443,-0.096451304852962,0.070116363465786) * float(LUMA_texOff(vec2(-1,-2)));
res += vec4(0.011261375620961,0.041587475687265,0.095821298658848,0.014965618960559) * float(LUMA_texOff(vec2(-1,-1)));
res += vec4(-0.085579395294189,-0.198437094688416,0.083024770021439,-0.450364828109741) * float(LUMA_texOff(vec2(-1,0)));
res += vec4(0.113909699022770,-0.041686087846756,-0.409700930118561,0.027302237227559) * float(LUMA_texOff(vec2(-1,1)));
res += vec4(-0.101956069469452,-0.064690984785557,0.137351214885712,0.055707819759846) * float(LUMA_texOff(vec2(-1,2)));
res += vec4(-0.013635224662721,-0.087827883660793,0.078077137470245,-0.110486082732677) * float(LUMA_texOff(vec2(0,-2)));
res += vec4(-0.155981108546257,0.020416203886271,-0.039339620620012,-0.250772655010223) * float(LUMA_texOff(vec2(0,-1)));
res += vec4(0.410906970500946,-0.204399958252907,1.157885432243347,0.400092929601669) * float(LUMA_texOff(vec2(0,0)));
res += vec4(-0.235468849539757,0.007620649877936,-0.361250758171082,0.082498475909233) * float(LUMA_texOff(vec2(0,1)));
res += vec4(0.183533936738968,0.102371089160442,0.039667841047049,-0.064605012536049) * float(LUMA_texOff(vec2(0,2)));
res += vec4(-0.071405552327633,-0.055028855800629,0.007064084056765,0.035469122231007) * float(LUMA_texOff(vec2(1,-2)));
res += vec4(0.012340972200036,0.062296152114868,-0.250613093376160,-0.053995482623577) * float(LUMA_texOff(vec2(1,-1)));
res += vec4(-0.209425166249275,0.084611512720585,-0.256114840507507,0.150277063250542) * float(LUMA_texOff(vec2(1,0)));
res += vec4(0.148593232035637,0.004043673630804,0.069029100239277,-0.024827968329191) * float(LUMA_texOff(vec2(1,1)));
res += vec4(0.027886835858226,0.042719963937998,-0.090634323656559,-0.043177410960197) * float(LUMA_texOff(vec2(1,2)));
res += vec4(-0.056653644889593,-0.014365416951478,0.016960494220257,0.019898328930140) * float(LUMA_texOff(vec2(2,-2)));
res += vec4(0.090784691274166,-0.087995968759060,0.003064834745601,-0.047475956380367) * float(LUMA_texOff(vec2(2,-1)));
res += vec4(-0.092051498591900,0.088254161179066,0.039469901472330,-0.011603891849518) * float(LUMA_texOff(vec2(2,0)));
res += vec4(0.032761484384537,-0.013191562145948,0.018993170931935,0.025398215278983) * float(LUMA_texOff(vec2(2,1)));
res += vec4(0.023702476173639,-0.045047644525766,-0.090284265577793,0.020688701421022) * float(LUMA_texOff(vec2(2,2)));
return res;
}

//!HOOK LUMA
//!WHEN OUTPUT.w LUMA.w 2.200 * > OUTPUT.h LUMA.h 2.200 * > *
//!COMPONENTS 4
//!BIND LUMA
//!SAVE FEATURE3
//!DESC [AiUpscale_HQ_Sharp_3x_LineArt] feature map 3

vec4 hook()
{
vec4 res = vec4(-0.001671389560215,-0.022633207961917,0.023300975561142,0.021711321547627);
res += vec4(0.067622065544128,0.059419509023428,0.016161689534783,-0.024188449606299) * float(LUMA_texOff(vec2(-2,-2)));
res += vec4(-0.059906039386988,-0.073616124689579,0.066507369279861,0.122971922159195) * float(LUMA_texOff(vec2(-2,-1)));
res += vec4(0.081571906805038,-0.000527255586348,-0.129574626684189,0.010527883656323) * float(LUMA_texOff(vec2(-2,0)));
res += vec4(-0.098006710410118,0.034110493957996,0.096234887838364,-0.136798143386841) * float(LUMA_texOff(vec2(-2,1)));
res += vec4(-0.017053402960300,0.028392022475600,-0.024744747206569,0.080722637474537) * float(LUMA_texOff(vec2(-2,2)));
res += vec4(-0.014703612774611,0.080803014338017,0.102937892079353,0.063511475920677) * float(LUMA_texOff(vec2(-1,-2)));
res += vec4(-0.039679933339357,-0.035827737301588,-0.084492988884449,-0.258170753717422) * float(LUMA_texOff(vec2(-1,-1)));
res += vec4(-0.371049106121063,0.003441273001954,-0.032242067158222,0.163262680172920) * float(LUMA_texOff(vec2(-1,0)));
res += vec4(0.079032570123672,-0.060308739542961,-0.025712570175529,0.040142957121134) * float(LUMA_texOff(vec2(-1,1)));
res += vec4(-0.046210974454880,-0.037949722260237,-0.060876354575157,-0.044386684894562) * float(LUMA_texOff(vec2(-1,2)));
res += vec4(-0.057415422052145,-0.104781463742256,0.082164555788040,-0.091758862137794) * float(LUMA_texOff(vec2(0,-2)));
res += vec4(0.094243519008160,0.084996186196804,-0.179153665900230,0.261697053909302) * float(LUMA_texOff(vec2(0,-1)));
res += vec4(0.426292926073074,-0.104778110980988,0.183827489614487,-0.296331614255905) * float(LUMA_texOff(vec2(0,0)));
res += vec4(-0.372845560312271,0.106923587620258,-0.032755047082901,0.047833021730185) * float(LUMA_texOff(vec2(0,1)));
res += vec4(-0.118040032684803,-0.037841238081455,0.017817979678512,0.063999839127064) * float(LUMA_texOff(vec2(0,2)));
res += vec4(-0.047678854316473,-0.058271929621696,-0.160747200250626,0.145428329706192) * float(LUMA_texOff(vec2(1,-2)));
res += vec4(-0.099395230412483,0.008947883732617,0.088566616177559,-0.091468513011932) * float(LUMA_texOff(vec2(1,-1)));
res += vec4(0.617632865905762,0.063903652131557,-0.060205582529306,0.103931300342083) * float(LUMA_texOff(vec2(1,0)));
res += vec4(0.040178719907999,-0.081646949052811,0.023827454075217,-0.075977057218552) * float(LUMA_texOff(vec2(1,1)));
res += vec4(-0.053552623838186,0.099464289844036,0.050099167972803,-0.114447660744190) * float(LUMA_texOff(vec2(1,2)));
res += vec4(0.004389684647322,0.065416991710663,-0.037352431565523,-0.132952079176903) * float(LUMA_texOff(vec2(2,-2)));
res += vec4(0.094414882361889,0.001376279396936,0.070847831666470,0.041651122272015) * float(LUMA_texOff(vec2(2,-1)));
res += vec4(-0.091290891170502,0.051099188625813,0.040947802364826,0.017956975847483) * float(LUMA_texOff(vec2(2,0)));
res += vec4(-0.127957940101624,0.002358465688303,-0.074663765728474,0.053321670740843) * float(LUMA_texOff(vec2(2,1)));
res += vec4(0.093837171792984,-0.024828810244799,0.000406959676184,0.012633306905627) * float(LUMA_texOff(vec2(2,2)));
return res;
}

//!HOOK LUMA
//!WHEN OUTPUT.w LUMA.w 2.200 * > OUTPUT.h LUMA.h 2.200 * > *
//!COMPONENTS 4
//!BIND LUMA
//!SAVE FEATURE4
//!DESC [AiUpscale_HQ_Sharp_3x_LineArt] feature map 4

vec4 hook()
{
vec4 res = vec4(-0.253812462091446,-0.053621944040060,-0.007856374606490,-0.049770340323448);
res += vec4(0.045191466808319,0.055532608181238,0.066989913582802,0.031578976660967) * float(LUMA_texOff(vec2(-2,-2)));
res += vec4(0.027955995872617,-0.084967263042927,-0.031300105154514,-0.003690126352012) * float(LUMA_texOff(vec2(-2,-1)));
res += vec4(-0.041997350752354,0.076694659888744,-0.016418091952801,0.049039259552956) * float(LUMA_texOff(vec2(-2,0)));
res += vec4(-0.087407827377319,-0.038525719195604,0.023351773619652,-0.015748364850879) * float(LUMA_texOff(vec2(-2,1)));
res += vec4(0.002663015620783,0.017009679228067,-0.005076280329376,0.033213548362255) * float(LUMA_texOff(vec2(-2,2)));
res += vec4(-0.071523174643517,-0.047402102500200,-0.044142991304398,0.029718525707722) * float(LUMA_texOff(vec2(-1,-2)));
res += vec4(0.075832590460777,0.093987934291363,0.024735784158111,-0.008240252733231) * float(LUMA_texOff(vec2(-1,-1)));
res += vec4(-0.549935460090637,0.127184882760048,0.036021053791046,0.063999250531197) * float(LUMA_texOff(vec2(-1,0)));
res += vec4(0.100225552916527,0.038774020969868,-0.064543031156063,-0.015698717907071) * float(LUMA_texOff(vec2(-1,1)));
res += vec4(-0.070946201682091,0.012600215151906,0.007907743565738,0.020682929083705) * float(LUMA_texOff(vec2(-1,2)));
res += vec4(0.006996836513281,-0.057033367455006,0.016797078773379,-0.053887691348791) * float(LUMA_texOff(vec2(0,-2)));
res += vec4(0.258115530014038,0.081958591938019,-0.010629166848958,-0.041100446134806) * float(LUMA_texOff(vec2(0,-1)));
res += vec4(0.631597042083740,0.125674217939377,-0.245314761996269,0.164510890841484) * float(LUMA_texOff(vec2(0,0)));
res += vec4(0.388296067714691,-0.088017538189888,0.161756247282028,-0.119665235280991) * float(LUMA_texOff(vec2(0,1)));
res += vec4(0.049775637686253,-0.015637520700693,0.075168296694756,-0.025944085791707) * float(LUMA_texOff(vec2(0,2)));
res += vec4(-0.063642129302025,-0.065627641975880,0.089641541242599,0.082718215882778) * float(LUMA_texOff(vec2(1,-2)));
res += vec4(0.025113074108958,-0.130828425288200,-0.041446331888437,-0.003963235765696) * float(LUMA_texOff(vec2(1,-1)));
res += vec4(-0.033426750451326,0.001524476567283,0.140661224722862,-0.149022012948990) * float(LUMA_texOff(vec2(1,0)));
res += vec4(-0.125870242714882,-0.063433587551117,-0.031042786315084,0.044901560992002) * float(LUMA_texOff(vec2(1,1)));
res += vec4(-0.053610801696777,0.069525986909866,-0.050753258168697,-0.040649935603142) * float(LUMA_texOff(vec2(1,2)));
res += vec4(0.017336480319500,0.035191841423512,-0.114723354578018,-0.092803850769997) * float(LUMA_texOff(vec2(2,-2)));
res += vec4(-0.003252214752138,0.120763227343559,0.102777048945427,0.019791560247540) * float(LUMA_texOff(vec2(2,-1)));
res += vec4(-0.102360829710960,-0.080905824899673,-0.021550580859184,-0.003774479031563) * float(LUMA_texOff(vec2(2,0)));
res += vec4(0.033943597227335,-0.017038671299815,0.002816680353135,0.072737909853458) * float(LUMA_texOff(vec2(2,1)));
res += vec4(0.009215223602951,-0.067474372684956,-0.050447162240744,0.050736252218485) * float(LUMA_texOff(vec2(2,2)));
return res;
}

//!HOOK LUMA
//!WHEN OUTPUT.w LUMA.w 2.200 * > OUTPUT.h LUMA.h 2.200 * > *
//!COMPONENTS 4
//!BIND LUMA
//!SAVE FEATURE5
//!DESC [AiUpscale_HQ_Sharp_3x_LineArt] feature map 5

vec4 hook()
{
vec4 res = vec4(-0.209605991840363,-0.050746649503708,-0.083543486893177,-0.014003425836563);
res += vec4(-0.048176642507315,-0.024518994614482,-0.027687832713127,0.014806965366006) * float(LUMA_texOff(vec2(-2,-2)));
res += vec4(-0.042833011597395,0.084583938121796,0.014839142560959,0.150207757949829) * float(LUMA_texOff(vec2(-2,-1)));
res += vec4(-0.001147226314060,0.106527246534824,-0.146027356386185,-0.019241979345679) * float(LUMA_texOff(vec2(-2,0)));
res += vec4(0.081191129982471,0.008262298069894,0.106228731572628,0.006657058373094) * float(LUMA_texOff(vec2(-2,1)));
res += vec4(0.018867148086429,-0.119579955935478,-0.011245556175709,-0.117882862687111) * float(LUMA_texOff(vec2(-2,2)));
res += vec4(0.018060537055135,0.045401368290186,0.019267918542027,-0.082646302878857) * float(LUMA_texOff(vec2(-1,-2)));
res += vec4(0.112358532845974,-0.019912311807275,-0.139690563082695,-0.015083034522831) * float(LUMA_texOff(vec2(-1,-1)));
res += vec4(-0.255799442529678,-0.307409822940826,-0.104907378554344,0.122167743742466) * float(LUMA_texOff(vec2(-1,0)));
res += vec4(-0.083977989852428,0.310507208108902,-0.119173780083656,-0.086151875555515) * float(LUMA_texOff(vec2(-1,1)));
res += vec4(0.003062009112909,-0.074267692863941,0.087795943021774,0.042592309415340) * float(LUMA_texOff(vec2(-1,2)));
res += vec4(0.010168016888201,0.077807843685150,-0.030196808278561,0.041694674640894) * float(LUMA_texOff(vec2(0,-2)));
res += vec4(0.124307140707970,-0.070413514971733,0.129013299942017,0.110817402601242) * float(LUMA_texOff(vec2(0,-1)));
res += vec4(0.602332115173340,0.405887305736542,0.216022238135338,-0.203101694583893) * float(LUMA_texOff(vec2(0,0)));
res += vec4(-0.204904437065125,-0.366214662790298,-0.116220794618130,-0.236738711595535) * float(LUMA_texOff(vec2(0,1)));
res += vec4(-0.002593792043626,0.119433656334877,-0.091770336031914,0.027662327513099) * float(LUMA_texOff(vec2(0,2)));
res += vec4(0.097090162336826,-0.017991304397583,0.018627032637596,-0.021512789651752) * float(LUMA_texOff(vec2(1,-2)));
res += vec4(0.065101563930511,0.167629614472389,-0.043565463274717,-0.059779979288578) * float(LUMA_texOff(vec2(1,-1)));
res += vec4(-0.148040652275085,-0.332480669021606,0.145984694361687,0.250433206558228) * float(LUMA_texOff(vec2(1,0)));
res += vec4(-0.090831853449345,0.079617924988270,-0.003253941657022,0.019364697858691) * float(LUMA_texOff(vec2(1,1)));
res += vec4(0.151592865586281,-0.065518096089363,0.068460859358311,0.083293393254280) * float(LUMA_texOff(vec2(1,2)));
res += vec4(-0.081007823348045,0.050143651664257,0.035737674683332,0.007421121466905) * float(LUMA_texOff(vec2(2,-2)));
res += vec4(-0.038974422961473,-0.072233721613884,0.113302260637283,-0.005688004195690) * float(LUMA_texOff(vec2(2,-1)));
res += vec4(0.058217976242304,0.162833496928215,0.011387279257178,-0.098392911255360) * float(LUMA_texOff(vec2(2,0)));
res += vec4(0.040203157812357,-0.050225052982569,-0.015266099944711,0.121880911290646) * float(LUMA_texOff(vec2(2,1)));
res += vec4(-0.052459143102169,0.010966469533741,0.037858579307795,-0.029163293540478) * float(LUMA_texOff(vec2(2,2)));
return res;
}

//!HOOK LUMA
//!WHEN OUTPUT.w LUMA.w 2.200 * > OUTPUT.h LUMA.h 2.200 * > *
//!COMPONENTS 4
//!BIND LUMA
//!SAVE FEATURE6
//!DESC [AiUpscale_HQ_Sharp_3x_LineArt] feature map 6

vec4 hook()
{
vec4 res = vec4(-0.671880960464478,0.028416072949767,-0.012094174511731,0.648580014705658);
res += vec4(0.010282986797392,0.053724978119135,-0.055844750255346,0.060836363583803) * float(LUMA_texOff(vec2(-2,-2)));
res += vec4(-0.057652838528156,-0.114526912570000,0.019827170297503,-0.100725680589676) * float(LUMA_texOff(vec2(-2,-1)));
res += vec4(0.106966711580753,0.075639218091965,-0.024703575298190,-0.008047322742641) * float(LUMA_texOff(vec2(-2,0)));
res += vec4(-0.043113857507706,-0.004772733431309,0.194674760103226,0.050990801304579) * float(LUMA_texOff(vec2(-2,1)));
res += vec4(-0.011400794610381,-0.017392754554749,0.001047106226906,0.016837341710925) * float(LUMA_texOff(vec2(-2,2)));
res += vec4(0.020125797018409,-0.037202339619398,0.106843188405037,-0.055877733975649) * float(LUMA_texOff(vec2(-1,-2)));
res += vec4(-0.066360250115395,0.253719866275787,-0.075989797711372,0.099365666508675) * float(LUMA_texOff(vec2(-1,-1)));
res += vec4(0.061693254858255,-0.182873845100403,0.090307675302029,-0.239714860916138) * float(LUMA_texOff(vec2(-1,0)));
res += vec4(0.050717130303383,-0.005872346926481,-0.106552429497242,0.088821440935135) * float(LUMA_texOff(vec2(-1,1)));
res += vec4(-0.061145264655352,-0.082410007715225,-0.048113450407982,0.030357895419002) * float(LUMA_texOff(vec2(-1,2)));
res += vec4(-0.019765213131905,0.057533107697964,-0.083666354417801,0.019258152693510) * float(LUMA_texOff(vec2(0,-2)));
res += vec4(0.123219944536686,-0.168474823236465,0.198678389191628,0.413976401090622) * float(LUMA_texOff(vec2(0,-1)));
res += vec4(0.453403294086456,0.034703701734543,-0.127097949385643,-0.695099353790283) * float(LUMA_texOff(vec2(0,0)));
res += vec4(0.297524541616440,0.099945224821568,-0.141643226146698,-0.231706127524376) * float(LUMA_texOff(vec2(0,1)));
res += vec4(0.192708641290665,0.010946152731776,0.104055427014828,-0.066331498324871) * float(LUMA_texOff(vec2(0,2)));
res += vec4(-0.054480288177729,-0.021114438772202,-0.037777554243803,-0.072570592164993) * float(LUMA_texOff(vec2(1,-2)));
res += vec4(-0.032571081072092,0.068052820861340,0.030296057462692,-0.058996167033911) * float(LUMA_texOff(vec2(1,-1)));
res += vec4(-0.092025190591812,0.029760397970676,-0.055738721042871,-0.611561238765717) * float(LUMA_texOff(vec2(1,0)));
res += vec4(0.076039418578148,-0.127094015479088,0.113722540438175,0.018250383436680) * float(LUMA_texOff(vec2(1,1)));
res += vec4(0.001420517219231,0.015128439292312,-0.118257403373718,0.047875482589006) * float(LUMA_texOff(vec2(1,2)));
res += vec4(-0.032630700618029,-0.085686832666397,0.027355415746570,0.023715965449810) * float(LUMA_texOff(vec2(2,-2)));
res += vec4(0.011800190433860,-0.020011214539409,-0.095121189951897,0.051830526441336) * float(LUMA_texOff(vec2(2,-1)));
res += vec4(0.108266569674015,0.032960284501314,0.097225300967693,-0.053870942443609) * float(LUMA_texOff(vec2(2,0)));
res += vec4(0.064980439841747,-0.003366545541212,-0.065867766737938,0.116073995828629) * float(LUMA_texOff(vec2(2,1)));
res += vec4(-0.005503872409463,0.073244176805019,0.083730392158031,-0.005771510303020) * float(LUMA_texOff(vec2(2,2)));
return res;
}

//!HOOK LUMA
//!WHEN OUTPUT.w LUMA.w 2.200 * > OUTPUT.h LUMA.h 2.200 * > *
//!COMPONENTS 4
//!BIND FEATURE1
//!BIND FEATURE2
//!BIND FEATURE3
//!BIND FEATURE4
//!BIND FEATURE5
//!BIND FEATURE6
//!SAVE MODEL1
//!DESC [AiUpscale_HQ_Sharp_3x_LineArt] mapping 1_1

vec4 hook()
{
vec4 res = vec4(-1.072744727134705,0.086389683187008,0.056602749973536,0.030679086223245);
res += mat4(0.050528723746538,0.064370311796665,-0.143287420272827,0.034264788031578,-0.060389708727598,-0.192376017570496,-0.200672656297684,-0.005026051774621,0.005653361789882,0.040010768920183,-0.066220574080944,0.107291176915169,-0.034324139356613,0.041116993874311,-0.168634101748466,-0.034417390823364) * FEATURE1_texOff(vec2(-1,-1));
res += mat4(-0.075903855264187,0.019785225391388,0.111418463289738,0.061919163912535,-0.157043382525444,0.184490382671356,-0.020344255492091,0.300051569938660,0.065586775541306,-0.116565302014351,0.003491285955533,0.104931235313416,0.182421073317528,-0.073607034981251,-0.058896098285913,0.072838105261326) * FEATURE1_texOff(vec2(-1,0));
res += mat4(-0.065776146948338,0.053222004324198,0.033157460391521,-0.066766709089279,-0.091941379010677,-0.015812857076526,-0.103880703449249,-0.035581301897764,-0.002152416855097,0.141486793756485,0.071161858737469,-0.078057870268822,-0.013328691013157,-0.024624241515994,-0.069825053215027,0.018354710191488) * FEATURE1_texOff(vec2(-1,1));
res += mat4(-0.094355493783951,-0.025988342240453,-0.003266010200605,0.028347417712212,0.130712896585464,0.139657899737358,-0.095681652426720,0.035675231367350,-0.084178768098354,-0.027223234996200,-0.006985355168581,-0.071364171802998,0.055032324045897,0.050407733768225,-0.160963982343674,-0.260527342557907) * FEATURE1_texOff(vec2(0,-1));
res += mat4(0.072709776461124,0.023516280576587,-0.024216281250119,-0.044685781002045,0.005521814338863,-0.129656225442886,-0.389734059572220,-0.103736348450184,0.057643160223961,0.038470339030027,0.065618082880974,-0.050322216004133,-0.045686297118664,0.034491412341595,0.445407867431641,-0.201027721166611) * FEATURE1_texOff(vec2(0,0));
res += mat4(0.098786354064941,-0.150350973010063,0.088576883077621,-0.019812239333987,-0.092231310904026,0.023227389901876,-0.216667890548706,0.160894662141800,0.005006095860153,0.042103607207537,-0.063144475221634,0.025432473048568,-0.036910958588123,0.037347503006458,0.235050663352013,-0.190270468592644) * FEATURE1_texOff(vec2(0,1));
res += mat4(0.002418591873720,-0.044470917433500,0.034500837326050,0.009482730180025,0.030973345041275,-0.065436564385891,-0.281396001577377,-0.103212215006351,-0.054484564810991,0.075790598988533,0.115675047039986,0.007647075224668,-0.053527478128672,-0.083194658160210,-0.106006674468517,-0.053478486835957) * FEATURE1_texOff(vec2(1,-1));
res += mat4(0.052403494715691,0.042330875992775,-0.046310324221849,-0.013364528305829,0.176599740982056,-0.072716094553471,-0.115750052034855,-0.056536976248026,-0.082917064428329,-0.108364664018154,0.024731986224651,-0.021746724843979,-0.367013394832611,0.061881411820650,0.104914613068104,0.437866538763046) * FEATURE1_texOff(vec2(1,0));
res += mat4(-0.130072772502899,0.103664942085743,-0.063701257109642,0.069474533200264,0.065964169800282,0.045642573386431,-0.172149434685707,-0.082528084516525,-0.002584346104413,0.040093388408422,-0.117137208580971,-0.057887196540833,-0.156303882598877,-0.020051583647728,-0.033772546797991,-0.025296818464994) * FEATURE1_texOff(vec2(1,1));
res += mat4(0.030361833050847,0.029941465705633,0.053980577737093,-0.051828853785992,0.074018329381943,0.038238797336817,-0.035710122436285,0.100884556770325,-0.036840364336967,-0.109976574778557,0.138411983847618,0.123174905776978,-0.010013515129685,-0.096490740776062,0.046775292605162,0.038379728794098) * FEATURE2_texOff(vec2(-1,-1));
res += mat4(-0.049569744616747,-0.006164049264044,-0.145776852965355,-0.011099467054009,0.103591524064541,-0.127463728189468,-0.013176172040403,-0.092998526990414,0.025280017405748,0.259605348110199,0.060104221105576,0.034189581871033,0.045110538601875,0.115888886153698,0.088057838380337,0.056977819651365) * FEATURE2_texOff(vec2(-1,0));
res += mat4(-0.024730743840337,-0.028444787487388,-0.007383523508906,0.007894085720181,-0.062123056501150,-0.015046632848680,-0.152603089809418,0.006994957569987,-0.007999543100595,-0.025091610848904,0.002703702077270,0.040838610380888,-0.075748756527901,0.018136087805033,-0.115181848406792,0.022385932505131) * FEATURE2_texOff(vec2(-1,1));
res += mat4(0.029047681018710,0.075179703533649,0.034216277301311,-0.051202017813921,-0.089371584355831,0.120203047990799,-0.041656255722046,-0.090571284294128,-0.059226684272289,-0.076490461826324,0.081568539142609,-0.073294714093208,-0.044883918017149,-0.035915914922953,-0.054398730397224,0.073178023099899) * FEATURE2_texOff(vec2(0,-1));
res += mat4(-0.143113568425179,-0.125116452574730,-0.169182956218719,0.189788758754730,0.112949796020985,-0.072662800550461,0.376270085573196,-0.047540519386530,-0.113055169582367,-0.084097422659397,-0.245158866047859,0.263724833726883,0.068595163524151,-0.070982344448566,-0.013718158937991,0.116750471293926) * FEATURE2_texOff(vec2(0,0));
res += mat4(0.012585578486323,0.251675516366959,0.015676444396377,-0.052762046456337,0.000820096582174,0.006505223456770,0.159396514296532,-0.096657909452915,-0.000180213071872,0.070394359529018,0.125072509050369,-0.074994310736656,-0.029010389000177,0.065815933048725,0.067137897014618,-0.054720375686884) * FEATURE2_texOff(vec2(0,1));
res += mat4(-0.024819700047374,-0.209290474653244,-0.062953308224678,0.024194084107876,-0.171944350004196,-0.000436995003838,-0.039149772375822,-0.043311897665262,-0.231600373983383,0.111773580312729,-0.070310547947884,0.006433886010200,-0.087256237864494,-0.027948904782534,0.019242208451033,-0.084972232580185) * FEATURE2_texOff(vec2(1,-1));
res += mat4(0.303058326244354,0.005526253487915,0.060786087065935,-0.155801102519035,-0.102699436247349,-0.008296030573547,0.042309567332268,0.021900454536080,0.404813170433044,-0.122047141194344,0.132197454571724,-0.231062039732933,0.118958324193954,-0.096260689198971,-0.062861241400242,-0.237272903323174) * FEATURE2_texOff(vec2(1,0));
res += mat4(-0.123371154069901,-0.020174544304609,-0.056521758437157,0.092603027820587,-0.024908944964409,0.037898197770119,-0.048551019281149,0.148579761385918,-0.079169571399689,0.043978936970234,0.211662903428078,-0.066917657852173,-0.088678501546383,0.197307422757149,-0.253565877676010,0.101241849362850) * FEATURE2_texOff(vec2(1,1));
res += mat4(-0.123041927814484,-0.276582390069962,0.027791524305940,-0.073938898742199,0.052287220954895,0.033352129161358,-0.051219541579485,0.001593678840436,0.001716355327517,0.068104237318039,-0.027497440576553,-0.011053700931370,0.024354882538319,-0.137855261564255,0.000462774187326,0.011262509971857) * FEATURE3_texOff(vec2(-1,-1));
res += mat4(-0.224823743104935,0.184476912021637,0.274589508771896,0.219421118497849,0.024317484349012,-0.052031885832548,0.005324537400156,-0.018933910876513,0.077060654759407,-0.129245504736900,0.018464338034391,0.056432448327541,-0.042290698736906,-0.025726020336151,0.054907556623220,-0.080020084977150) * FEATURE3_texOff(vec2(-1,0));
res += mat4(-0.014913380146027,-0.004887041635811,-0.164859846234322,-0.055118203163147,-0.075977906584740,-0.036883078515530,-0.065305739641190,-0.054035168141127,-0.063135221600533,0.144904658198357,-0.006948313210160,-0.053636822849512,0.041858579963446,-0.045634951442480,0.092600375413895,-0.016213636845350) * FEATURE3_texOff(vec2(-1,1));
res += mat4(0.059168986976147,0.068482309579849,-0.006809624377638,-0.001431840588339,-0.016868192702532,-0.027591677382588,-0.005529422778636,0.001052496838383,-0.037457693368196,-0.150401338934898,0.151077061891556,-0.115074984729290,-0.020211605355144,0.179520174860954,-0.048501618206501,0.003072726773098) * FEATURE3_texOff(vec2(0,-1));
res += mat4(0.339206516742706,-0.144371509552002,-0.065740808844566,0.044915221631527,0.057484000921249,0.026446482166648,0.011692468076944,0.098111569881439,0.004281283356249,0.010413588024676,-0.000389498571167,0.060353048145771,0.103201784193516,0.018159346655011,0.081476941704750,-0.084507405757904) * FEATURE3_texOff(vec2(0,0));
res += mat4(0.019758017733693,0.052647251635790,0.051337841898203,0.050360947847366,0.024460049346089,0.009154370985925,-0.088578782975674,0.042050085961819,-0.090683400630951,0.093401156365871,0.031086049973965,-0.115841746330261,0.098880290985107,-0.023595158010721,-0.007936025969684,0.053632769733667) * FEATURE3_texOff(vec2(0,1));
res += mat4(-0.195530474185944,-0.043960683047771,0.030740274116397,0.152647182345390,0.049159999936819,0.076795868575573,-0.029564436525106,-0.082030929625034,0.014296500012279,0.044860403984785,-0.000167809383129,0.088321030139923,-0.120456919074059,-0.149838984012604,0.033476661890745,0.046910271048546) * FEATURE3_texOff(vec2(1,-1));
res += mat4(0.244229763746262,0.051500376313925,0.138820633292198,-0.187473908066750,-0.084850035607815,-0.037748351693153,-0.070225477218628,-0.010594327934086,0.073486164212227,0.035431273281574,-0.055099941790104,-0.184418126940727,-0.146553739905357,0.092584066092968,0.038721386343241,0.208225771784782) * FEATURE3_texOff(vec2(1,0));
res += mat4(-0.051001287996769,-0.087012276053429,-0.048581313341856,-0.035381205379963,-0.017549818381667,-0.028284231200814,0.138999924063683,0.032541107386351,-0.045939069241285,0.015549696050584,-0.049349356442690,0.151333898305893,0.036249328404665,-0.077046088874340,0.008430201560259,-0.093098983168602) * FEATURE3_texOff(vec2(1,1));
res += mat4(0.008579949848354,-0.069520995020866,-0.066054135560989,-0.000797841756139,-0.111090071499348,-0.007316672243178,-0.071553371846676,0.078202202916145,0.025462912395597,-0.018033172935247,-0.092083670198917,0.000431100605056,0.071138784289360,-0.052467092871666,0.041074484586716,-0.158955916762352) * FEATURE4_texOff(vec2(-1,-1));
res += mat4(-0.156378030776978,0.127215534448624,-0.020165480673313,0.114430539309978,-0.077274940907955,0.172767058014870,0.067034497857094,0.111020676791668,-0.024235142394900,-0.035209685564041,0.069732554256916,-0.034651655703783,-0.025355070829391,0.079057276248932,-0.074089534580708,-0.057043351233006) * FEATURE4_texOff(vec2(-1,0));
res += mat4(0.000601935258601,-0.088190257549286,0.011111752130091,0.044196214526892,0.102496914565563,-0.068889684975147,-0.059347704052925,-0.002985249273479,0.014232148416340,-0.120316609740257,-0.018682582303882,0.023220766335726,-0.161965593695641,-0.057107217609882,0.091253191232681,0.035490736365318) * FEATURE4_texOff(vec2(-1,1));
res += mat4(-0.089911848306656,0.130549386143684,0.357942849397659,0.216368287801743,-0.064917683601379,-0.003257561940700,-0.118754535913467,0.016706334426999,0.014679444022477,-0.001759956125170,0.104966826736927,0.154644653201103,0.000938024662901,0.021685071289539,-0.024940825998783,0.088510222733021) * FEATURE4_texOff(vec2(0,-1));
res += mat4(-0.038979768753052,-0.094815492630005,-0.232131332159042,0.180526748299599,-0.093329191207886,0.034665089100599,-0.217798367142677,-0.055426243692636,0.215984538197517,0.056982703506947,0.113778151571751,-0.180279582738876,-0.108390837907791,-0.058483630418777,-0.223539844155312,0.074622601270676) * FEATURE4_texOff(vec2(0,0));
res += mat4(-0.127338811755180,0.104667484760284,0.223867774009705,-0.058794640004635,-0.050723765045404,-0.089838035404682,-0.143065571784973,0.060005888342857,0.011441706679761,-0.042202159762383,0.066742882132530,0.036005012691021,0.055277157574892,0.074512884020805,-0.069552689790726,0.106975935399532) * FEATURE4_texOff(vec2(0,1));
res += mat4(0.188423201441765,-0.001730307820253,-0.087413497269154,-0.180252209305763,-0.044653285294771,0.059001207351685,-0.073555953800678,0.060480747371912,-0.023458225652575,0.026878530159593,0.031789775937796,-0.098763711750507,-0.010698008351028,-0.084656096994877,0.040798056870699,0.021584926173091) * FEATURE4_texOff(vec2(1,-1));
res += mat4(0.368297666311264,0.122766882181168,-0.083747118711472,-0.374986052513123,0.081348598003387,0.068186052143574,0.008666633628309,0.164460241794586,-0.227815762162209,0.095132879912853,-0.131940245628357,0.181226849555969,0.141799107193947,0.115074001252651,0.039502292871475,-0.051185417920351) * FEATURE4_texOff(vec2(1,0));
res += mat4(0.120516702532768,-0.231284409761429,-0.030690366402268,-0.062632098793983,0.102180585265160,-0.170562013983727,0.076932832598686,-0.134080395102501,0.029831185936928,-0.028841186314821,-0.144297480583191,-0.012156394310296,0.026601497083902,-0.013879763893783,0.116815701127052,-0.057256698608398) * FEATURE4_texOff(vec2(1,1));
res += mat4(0.104099266231060,-0.054003827273846,-0.049897260963917,-0.027714224532247,0.034047160297632,-0.092169888317585,0.001107382937334,0.126107811927795,0.050780903548002,-0.025955673307180,-0.097199641168118,-0.101401641964912,0.147275015711784,-0.152263492345810,-0.048012904822826,-0.020398750901222) * FEATURE5_texOff(vec2(-1,-1));
res += mat4(0.001097817556001,0.148466333746910,-0.069049626588821,0.003777968930081,0.245083376765251,0.030644552782178,-0.080372676253319,-0.219481199979782,0.018396856263280,0.084904514253139,-0.053551916033030,0.049616996198893,-0.287745565176010,-0.040521517395973,-0.047970805317163,-0.009232922457159) * FEATURE5_texOff(vec2(-1,0));
res += mat4(0.039253681898117,-0.049212075769901,0.035215139389038,0.104414172470570,-0.004395545460284,-0.029492810368538,0.087282307446003,0.139489278197289,0.033561278134584,-0.003748810384423,-0.109743766486645,-0.129677608609200,0.075519382953644,0.165504828095436,-0.188804239034653,-0.065487675368786) * FEATURE5_texOff(vec2(-1,1));
res += mat4(-0.166195124387741,-0.015306025743484,0.136923193931580,-0.032540410757065,0.040644083172083,0.039195202291012,0.102107606828213,-0.219238772988319,0.059516031295061,-0.022923860698938,-0.009689426049590,0.243509948253632,0.055585667490959,0.002200422110036,-0.019017275422812,0.113679833710194) * FEATURE5_texOff(vec2(0,-1));
res += mat4(-0.158913046121597,-0.129906907677650,-0.396672815084457,0.268568485975266,-0.341693788766861,-0.073948107659817,-0.214095085859299,0.230785474181175,0.163641169667244,0.027364782989025,-0.180992379784584,0.101163916289806,0.202910289168358,0.027272135019302,0.055623624473810,-0.133301883935928) * FEATURE5_texOff(vec2(0,0));
res += mat4(-0.022999877110124,-0.003356580855325,-0.025515785440803,0.084379784762859,-0.047174286097288,0.091545701026917,-0.050246756523848,-0.007661125157028,-0.015903124585748,-0.079260483384132,-0.136434867978096,0.136644184589386,-0.039947766810656,-0.034428767859936,-0.135328933596611,0.130661815404892) * FEATURE5_texOff(vec2(0,1));
res += mat4(0.095920182764530,0.030367800965905,0.062738955020905,-0.092965766787529,-0.073217660188675,0.032336413860321,-0.020777868106961,0.128465190529823,-0.141679257154465,0.000915398180950,0.046346917748451,-0.125310525298119,-0.068354971706867,-0.048956539481878,-0.123332224786282,0.020677747204900) * FEATURE5_texOff(vec2(1,-1));
res += mat4(0.328927963972092,-0.016184931620955,-0.016021681949496,-0.347832620143890,0.151967138051987,-0.067244693636894,0.089689217507839,-0.221959248185158,-0.038739271461964,-0.046100392937660,-0.061980731785297,-0.144437164068222,-0.096200637519360,0.011958352290094,-0.021871624514461,0.019039237871766) * FEATURE5_texOff(vec2(1,0));
res += mat4(0.054165180772543,-0.044268909841776,0.035523459315300,-0.051096357405186,0.086714781820774,0.025910547003150,-0.164466097950935,0.102795764803886,-0.001403190894052,0.028323898091912,0.023465078324080,0.037005029618740,0.077369153499603,0.000661710742861,0.042799912393093,-0.029887916520238) * FEATURE5_texOff(vec2(1,1));
res += mat4(0.209521427750587,0.084941975772381,0.195045799016953,-0.059985883533955,-0.065668962895870,-0.073438309133053,-0.129167944192886,-0.006270397454500,0.018311517313123,0.162625208497047,0.037114147096872,-0.007071749307215,-0.008785340003669,0.133304923772812,-0.062454912811518,-0.039098460227251) * FEATURE6_texOff(vec2(-1,-1));
res += mat4(0.167874008417130,0.041923955082893,0.085628524422646,-0.017779847607017,0.039143092930317,0.097472734749317,0.056019935756922,0.022032452747226,-0.017421513795853,-0.166867107152939,0.017068699002266,-0.011185693554580,-0.112614296376705,0.006067905109376,-0.352092117071152,-0.126126185059547) * FEATURE6_texOff(vec2(-1,0));
res += mat4(-0.032733056694269,-0.107775524258614,0.118992418050766,-0.144287899136543,-0.093109518289566,-0.010739134624600,-0.015205534175038,0.070595435798168,-0.040497642010450,-0.057030614465475,0.006058480590582,0.068831861019135,0.094392165541649,0.011815280653536,-0.146933391690254,-0.035629142075777) * FEATURE6_texOff(vec2(-1,1));
res += mat4(0.140951782464981,0.061613433063030,0.266860544681549,-0.012975151650608,-0.057626232504845,-0.091314896941185,0.088942028582096,-0.022209558635950,0.097340092062950,-0.032856140285730,0.105641014873981,-0.030456973239779,-0.061231687664986,0.079283609986305,-0.146134883165359,-0.209742128849030) * FEATURE6_texOff(vec2(0,-1));
res += mat4(-0.155340954661369,-0.036216087639332,-0.487088978290558,0.417038232088089,0.042525272816420,-0.086983308196068,0.022672997787595,0.004914056044072,-0.037633445113897,-0.011762987822294,0.040059193968773,0.028590707108378,-0.492736220359802,-0.120493575930595,0.193332180380821,-0.144395008683205) * FEATURE6_texOff(vec2(0,0));
res += mat4(0.107916131615639,0.071466691792011,0.065601989626884,0.159043177962303,-0.033393383026123,0.059515461325645,0.072480194270611,-0.173295423388481,0.100618444383144,-0.027998361736536,-0.043891735374928,-0.071175515651703,-0.127901062369347,-0.097520254552364,0.041402682662010,0.031679160892963) * FEATURE6_texOff(vec2(0,1));
res += mat4(0.380652964115143,0.152691110968590,0.132273271679878,-0.142729669809341,0.031421028077602,0.017141746357083,0.006590228993446,0.061259411275387,-0.120629929006100,0.075926050543785,-0.017707305029035,0.045758262276649,-0.216748550534248,-0.058623023331165,-0.174276262521744,0.098271571099758) * FEATURE6_texOff(vec2(1,-1));
res += mat4(0.405358254909515,-0.067618452012539,-0.006238400004804,-0.319295138120651,-0.038538116961718,0.086814172565937,0.031167596578598,0.001112748752348,-0.029423234984279,0.022590927779675,-0.023547844961286,0.022224053740501,-0.530659556388855,0.149211764335632,-0.147325038909912,0.362297385931015) * FEATURE6_texOff(vec2(1,0));
res += mat4(0.139967113733292,-0.042529225349426,0.280734121799469,-0.148618042469025,0.040493529289961,-0.065993644297123,-0.047085922211409,0.135605767369270,0.054010234773159,0.008888781070709,0.081814534962177,-0.072230748832226,0.074479565024376,-0.150591373443604,-0.244101777672768,0.000095179995697) * FEATURE6_texOff(vec2(1,1));
res = max(res, vec4(0.0)) + vec4(-0.007354124449193,-0.391122251749039,0.030175777152181,0.305393874645233) * min(res, vec4(0.0));
return res;
}

//!HOOK LUMA
//!WHEN OUTPUT.w LUMA.w 2.200 * > OUTPUT.h LUMA.h 2.200 * > *
//!COMPONENTS 4
//!BIND FEATURE1
//!BIND FEATURE2
//!BIND FEATURE3
//!BIND FEATURE4
//!BIND FEATURE5
//!BIND FEATURE6
//!SAVE MODEL2
//!DESC [AiUpscale_HQ_Sharp_3x_LineArt] mapping 1_2

vec4 hook()
{
vec4 res = vec4(0.015495620667934,-0.494456648826599,-0.022518709301949,-0.068700119853020);
res += mat4(-0.045649588108063,-0.040481731295586,-0.073635160923004,0.055408317595720,-0.028599416837096,-0.343498080968857,-0.029799049720168,-0.163113579154015,0.068408034741879,-0.015718959271908,0.035957686603069,-0.028527760878205,0.145266234874725,-0.082964010536671,-0.030026342719793,-0.031159829348326) * FEATURE1_texOff(vec2(-1,-1));
res += mat4(0.089817523956299,0.062289167195559,-0.044181503355503,-0.063438341021538,-0.023883055895567,-0.452839553356171,-0.094876736402512,-0.016454508528113,-0.015572092495859,-0.128337591886520,-0.117720365524292,0.007558223791420,0.148741483688354,0.021014418452978,-0.018458569422364,-0.086169488728046) * FEATURE1_texOff(vec2(-1,0));
res += mat4(-0.065016716718674,-0.043198306113482,0.125095784664154,-0.016029734164476,-0.078884318470955,-0.357209622859955,-0.000708933512215,0.014882550574839,-0.083328761160374,0.030103361234069,-0.003204749431461,-0.043826237320900,-0.048822391778231,-0.096413664519787,0.019407752901316,-0.033949278295040) * FEATURE1_texOff(vec2(-1,1));
res += mat4(0.032449599355459,-0.086193226277828,-0.009360183030367,0.042697485536337,-0.061565127223730,-0.299760103225708,0.205365106463432,0.089077658951283,-0.023275621235371,-0.036581654101610,-0.083227761089802,-0.085477285087109,-0.007289803121239,-0.050246283411980,0.158607855439186,-0.140810936689377) * FEATURE1_texOff(vec2(0,-1));
res += mat4(-0.021151710301638,0.013640338554978,0.036045111715794,0.017669066786766,-0.115290410816669,-0.762759745121002,0.059406876564026,-0.133168026804924,0.033163268119097,0.040109314024448,0.088499240577221,0.040405996143818,-0.187012165784836,0.196002304553986,0.230045497417450,-0.012867037206888) * FEATURE1_texOff(vec2(0,0));
res += mat4(-0.009466581977904,-0.071716450154781,-0.142586067318916,0.018657140433788,0.052896723151207,-0.350711435079575,0.059638135135174,-0.015948126092553,0.014389896765351,-0.001920839888044,-0.020139988511801,-0.037702742964029,-0.077566519379616,-0.054708264768124,0.232746943831444,-0.002051487797871) * FEATURE1_texOff(vec2(0,1));
res += mat4(0.049661323428154,0.106138743460178,0.039083372801542,-0.062253978103399,-0.018188100308180,-0.448691308498383,-0.018981229513884,-0.060345076024532,-0.029240610077977,-0.013053964823484,-0.040626216679811,0.079363174736500,-0.034263953566551,-0.121146000921726,-0.091654025018215,-0.065039038658142) * FEATURE1_texOff(vec2(1,-1));
res += mat4(-0.082524769008160,-0.076585598289967,-0.174016758799553,-0.005284297280014,0.261518001556396,-0.688037216663361,0.077465951442719,-0.039120122790337,-0.005699905101210,0.031825594604015,0.065856687724590,0.015296497382224,0.026423562318087,-0.046566378325224,-0.182912528514862,-0.036579925566912) * FEATURE1_texOff(vec2(1,0));
res += mat4(-0.057249780744314,0.048558879643679,-0.025081157684326,0.003773308591917,0.106135688722134,-0.377724975347519,-0.077298142015934,-0.082087062299252,0.013359197415411,-0.006013019941747,-0.060593258589506,0.013065107166767,0.113245256245136,-0.005917751230299,0.084935754537582,0.118320532143116) * FEATURE1_texOff(vec2(1,1));
res += mat4(0.020738277584314,-0.115684717893600,0.106900602579117,-0.044575326144695,0.057230796664953,-0.076782949268818,-0.028998473659158,-0.145884394645691,-0.224547222256660,0.102526001632214,0.053521897643805,0.058254208415747,-0.030669754371047,-0.025486942380667,0.092640042304993,-0.131244361400604) * FEATURE2_texOff(vec2(-1,-1));
res += mat4(-0.098217390477657,0.061422314494848,0.135382622480392,0.120580025017262,0.085811935365200,-0.179612532258034,0.002532947110012,-0.217741042375565,-0.222507268190384,0.131649553775787,-0.014080659486353,0.178656846284866,0.083730131387711,-0.019873291254044,-0.014594761654735,0.032448161393404) * FEATURE2_texOff(vec2(-1,0));
res += mat4(0.039779804646969,0.019806070253253,-0.184131592512131,0.080693900585175,0.069157600402832,-0.077025718986988,0.012272291816771,-0.117571108043194,0.079240448772907,0.030127741396427,-0.294408649206161,0.099697358906269,0.068236567080021,-0.058648757636547,-0.194521307945251,0.023684553802013) * FEATURE2_texOff(vec2(-1,1));
res += mat4(-0.002548429882154,0.214200139045715,0.080399431288242,-0.002260591369122,0.059235900640488,-0.093292020261288,0.032742753624916,0.025094138458371,-0.047090332955122,0.113222554326057,0.027377154678106,0.041030719876289,0.039660010486841,-0.060986645519733,-0.129984006285667,0.167194426059723) * FEATURE2_texOff(vec2(0,-1));
res += mat4(0.039501275867224,-0.356144428253174,-0.338320076465607,-0.124134488403797,0.028519246727228,-0.017797762528062,0.097825102508068,0.103095017373562,0.157853424549103,-0.426155120134354,-0.238752752542496,-0.145198762416840,0.002337874844670,-0.160367146134377,0.131109818816185,-0.039397370070219) * FEATURE2_texOff(vec2(0,0));
res += mat4(-0.014009547419846,0.218981862068176,0.115448504686356,0.079148985445499,-0.120565541088581,-0.019460417330265,0.134150505065918,0.023700080811977,0.006200412753969,0.050935961306095,0.152993813157082,-0.051102034747601,-0.069660104811192,0.133533522486687,0.028093658387661,0.017828604206443) * FEATURE2_texOff(vec2(0,1));
res += mat4(-0.087219700217247,-0.016439538449049,0.041386716067791,-0.032140903174877,-0.143294081091881,0.057123459875584,0.085073471069336,0.042565807700157,0.004159652162343,0.092157237231731,0.002817283850163,0.121434651315212,-0.112807095050812,0.025021567940712,0.025205364450812,-0.032885845750570) * FEATURE2_texOff(vec2(1,-1));
res += mat4(0.020849274471402,0.075110867619514,-0.055585846304893,0.051317997276783,-0.055999260395765,0.193953379988670,0.000865490001161,0.088402405381203,-0.029887326061726,-0.227138176560402,0.034170586615801,-0.070485711097717,-0.006629124283791,0.265071779489517,0.105558469891548,-0.008868860080838) * FEATURE2_texOff(vec2(1,0));
res += mat4(-0.015884336084127,0.020565267652273,-0.009698758833110,-0.108268670737743,0.033836532384157,0.075505241751671,0.024941224604845,-0.006193496752530,0.036704089492559,0.002303599845618,0.037516977638006,-0.260948449373245,-0.029250150546432,0.001130307908170,0.089149124920368,-0.009348689578474) * FEATURE2_texOff(vec2(1,1));
res += mat4(0.089436315000057,-0.082298733294010,-0.049554102122784,-0.085034206509590,-0.068532958626747,-0.009944519959390,0.004646628163755,-0.046016711741686,-0.170479133725166,-0.051759205758572,-0.037798874080181,0.034398425370455,0.096924744546413,-0.068177931010723,0.081781074404716,0.041594929993153) * FEATURE3_texOff(vec2(-1,-1));
res += mat4(0.123064361512661,-0.232593655586243,0.007142124697566,-0.094830736517906,0.098475940525532,-0.067392207682133,-0.005361469462514,-0.070309415459633,0.091343812644482,0.016107767820358,0.089775122702122,-0.027050115168095,-0.104716330766678,-0.069473557174206,-0.002272705081850,-0.151258125901222) * FEATURE3_texOff(vec2(-1,0));
res += mat4(0.036237493157387,-0.081000261008739,-0.078101001679897,-0.053879175335169,0.067705385386944,-0.053080618381500,0.104573935270309,-0.044203717261553,-0.123944342136383,-0.021244896575809,0.022850055247545,-0.053018733859062,-0.061675708740950,-0.031317237764597,-0.132287919521332,-0.014419725164771) * FEATURE3_texOff(vec2(-1,1));
res += mat4(0.055483508855104,0.106938011944294,-0.063187129795551,0.180762737989426,-0.061724346131086,-0.078807085752487,-0.183438003063202,-0.022757967934012,0.094108477234840,0.100962206721306,0.156436398625374,-0.060120429843664,-0.022023407742381,-0.035154186189175,-0.069055676460266,0.058131739497185) * FEATURE3_texOff(vec2(0,-1));
res += mat4(-0.017278203740716,-0.430553197860718,-0.156495228409767,-0.055938653647900,0.083293460309505,0.129753202199936,0.040062878280878,0.056750293821096,-0.032444454729557,-0.192809119820595,-0.176351666450500,-0.058978028595448,0.120165303349495,0.192561924457550,0.051125880330801,0.086309529840946) * FEATURE3_texOff(vec2(0,0));
res += mat4(-0.159542158246040,-0.059404462575912,0.046898577362299,-0.024714825674891,-0.089149728417397,-0.041770044714212,-0.146392390131950,-0.056542478501797,-0.062320087105036,0.155996650457382,-0.012327997013927,0.011737848632038,-0.075382113456726,-0.225580826401711,0.157527714967728,0.019791159778833) * FEATURE3_texOff(vec2(0,1));
res += mat4(-0.043733667582273,-0.023601843044162,-0.043915968388319,-0.050875738263130,0.013985892757773,-0.028893528506160,0.102276548743248,0.028777960687876,0.012758636847138,0.085678078234196,0.016727728769183,0.018639285117388,0.051293298602104,-0.019513316452503,0.047575507313013,-0.008794945664704) * FEATURE3_texOff(vec2(1,-1));
res += mat4(0.043776404112577,0.172896072268486,-0.028876867145300,0.092101305723190,-0.018876068294048,-0.077938362956047,-0.021602360531688,-0.052726786583662,-0.030063157901168,-0.024603186175227,0.140515968203545,0.004521674942225,-0.079297825694084,-0.091201469302177,-0.157483085989952,0.044310607016087) * FEATURE3_texOff(vec2(1,0));
res += mat4(0.002924804575741,-0.020450256764889,0.086031325161457,-0.255112677812576,-0.000349995098077,-0.029354618862271,-0.150386080145836,0.107825636863708,0.098386414349079,-0.046117987483740,-0.008224220946431,-0.042242683470249,0.045662347227335,0.148352488875389,-0.105002932250500,0.080898329615593) * FEATURE3_texOff(vec2(1,1));
res += mat4(-0.227866753935814,0.014776281081140,0.013245647773147,0.102307029068470,-0.020403388887644,0.148595422506332,0.098905943334103,0.107249431312084,-0.066652730107307,-0.065297536551952,-0.085260450839996,0.102500259876251,0.026328502222896,-0.015013319440186,0.038750786334276,-0.155546054244041) * FEATURE4_texOff(vec2(-1,-1));
res += mat4(-0.134800910949707,0.092184923589230,0.115142516791821,0.068826906383038,-0.202874660491943,-0.017994113266468,-0.105261296033859,0.080966971814632,0.081150203943253,-0.075974673032761,0.054532889276743,-0.118447929620743,0.124473832547665,0.019564304500818,-0.011722278781235,0.059740263968706) * FEATURE4_texOff(vec2(-1,0));
res += mat4(-0.020477691665292,-0.009497808292508,-0.104313246905804,0.010451500304043,0.023066420108080,0.200698643922806,-0.071266390383244,0.153801679611206,-0.091571532189846,-0.082977265119553,-0.043935909867287,0.037127878516912,0.008371111005545,-0.020903684198856,-0.006946594920009,0.033719398081303) * FEATURE4_texOff(vec2(-1,1));
res += mat4(0.233988374471664,-0.201318413019180,-0.150659963488579,-0.057297982275486,-0.043554756790400,0.200073882937431,0.083933427929878,0.022966822609305,-0.035760659724474,-0.024537269026041,-0.163455024361610,-0.041599877178669,-0.024326343089342,0.135068282485008,-0.014848801307380,0.115289591252804) * FEATURE4_texOff(vec2(0,-1));
res += mat4(0.060009725391865,-0.282998263835907,0.019514570012689,-0.133221834897995,0.018413081765175,-0.207858398556709,-0.422237366437912,0.025422647595406,-0.026280658319592,0.164695471525192,0.123856581747532,-0.027614634484053,-0.037162981927395,-0.183936864137650,-0.097143448889256,-0.024255782365799) * FEATURE4_texOff(vec2(0,0));
res += mat4(-0.047159917652607,-0.255715698003769,-0.023653777316213,-0.029690384864807,0.014948547817767,-0.054239224642515,-0.178365364670753,-0.089943461120129,0.098468221724033,-0.038667716085911,-0.041217681020498,0.004925504326820,-0.072988346219063,0.068857662379742,0.048504412174225,0.055785931646824) * FEATURE4_texOff(vec2(0,1));
res += mat4(0.053632896393538,-0.068267382681370,-0.162020355463028,-0.025077007710934,0.017897700890899,-0.033354535698891,0.005765214096755,-0.072937883436680,-0.014949978329241,0.072712495923042,0.106945194303989,0.023725796490908,0.009805507026613,0.079210504889488,0.017401322722435,0.068045571446419) * FEATURE4_texOff(vec2(1,-1));
res += mat4(-0.068809174001217,0.357251703739166,0.030559407547116,-0.069614753127098,0.043859932571650,-0.170601174235344,-0.109609059989452,0.053798042237759,0.104168802499771,0.014845709316432,-0.066726699471474,0.067975468933582,-0.056797116994858,-0.068823739886284,-0.087904542684555,0.021338449791074) * FEATURE4_texOff(vec2(1,0));
res += mat4(0.051456876099110,-0.080606989562511,-0.191621676087379,0.000738595903385,0.020300373435020,-0.101705379784107,-0.000929074885789,0.020144596695900,-0.097912900149822,-0.011159315705299,0.085684180259705,-0.026203801855445,-0.015992963686585,0.037043388932943,-0.111911885440350,-0.136275500059128) * FEATURE4_texOff(vec2(1,1));
res += mat4(-0.155635312199593,0.265455752611160,0.192874640226364,-0.048783645033836,-0.111684136092663,-0.038980964571238,0.055209327489138,-0.091087408363819,0.062307357788086,0.026479925960302,0.067132502794266,-0.133339434862137,0.139850944280624,-0.043513577431440,0.047934878617525,-0.057549521327019) * FEATURE5_texOff(vec2(-1,-1));
res += mat4(0.067963108420372,0.128236636519432,-0.133057028055191,0.111415229737759,-0.030949326232076,0.197331860661507,0.166928485035896,0.041462507098913,-0.013966482132673,-0.253348231315613,-0.034397553652525,-0.132446303963661,0.033742807805538,-0.260004520416260,-0.105924718081951,-0.168596789240837) * FEATURE5_texOff(vec2(-1,0));
res += mat4(-0.044015567749739,0.066516600549221,0.059059515595436,0.039889041334391,0.042402815073729,0.017517112195492,-0.178304240107536,-0.074242301285267,-0.041834589093924,-0.013959847390652,0.054771978408098,-0.057928331196308,-0.111201055347919,0.035402555018663,0.133174732327461,0.024400450289249) * FEATURE5_texOff(vec2(-1,1));
res += mat4(0.210230305790901,0.131712391972542,0.080622874200344,-0.059526611119509,0.064708128571510,0.144029587507248,0.123016700148582,0.085208408534527,0.033367052674294,0.165528714656830,0.018065698444843,0.032352887094021,0.025557987391949,0.122826330363750,0.123619996011257,-0.131650015711784) * FEATURE5_texOff(vec2(0,-1));
res += mat4(0.008635419420898,-0.403023391962051,-0.341345667839050,-0.126344621181488,0.133204475045204,-0.331620275974274,-0.315675050020218,-0.004722187295556,0.124604642391205,-0.313167303800583,-0.126678273081779,-0.013734281063080,0.004441457800567,0.091028481721878,-0.146735355257988,0.084186546504498) * FEATURE5_texOff(vec2(0,0));
res += mat4(-0.013927410356700,-0.066843844950199,0.214683681726456,-0.016431316733360,-0.120513476431370,-0.007105208933353,0.287770658731461,0.004777883179486,-0.047743536531925,-0.052849318832159,-0.059659756720066,-0.027561126276851,0.078685909509659,0.051895685493946,-0.020986698567867,0.048117317259312) * FEATURE5_texOff(vec2(0,1));
res += mat4(-0.149964660406113,0.203423783183098,0.150758489966393,0.037094682455063,-0.001498007331975,-0.113565862178802,-0.095161668956280,0.020235294476151,-0.042652461677790,0.078912533819675,0.004825715906918,0.026440503075719,-0.042943950742483,0.026325391605496,-0.041246052831411,0.018319023773074) * FEATURE5_texOff(vec2(1,-1));
res += mat4(-0.030390530824661,0.085039995610714,-0.008831482380629,-0.000273972662399,-0.090097978711128,0.164025872945786,0.104093052446842,0.059719529002905,0.034573987126350,0.012741092592478,0.008242611773312,0.041769210249186,-0.024434240534902,-0.077559150755405,-0.134627237915993,0.067983120679855) * FEATURE5_texOff(vec2(1,0));
res += mat4(0.101683467626572,-0.029371445998549,-0.119000583887100,-0.003428688738495,0.040727734565735,-0.054717026650906,-0.237440034747124,-0.098248846828938,0.010551846586168,0.151220366358757,0.040080185979605,0.003446281421930,-0.068001307547092,0.089110389351845,0.137555390596390,0.049276012927294) * FEATURE5_texOff(vec2(1,1));
res += mat4(-0.298590540885925,-0.001302496995777,-0.025305086746812,0.031500812619925,-0.089199043810368,-0.019555997103453,-0.019240735098720,0.035438638180494,0.047301668673754,0.027757255360484,0.046009209007025,-0.119612529873848,0.142183274030685,-0.087056480348110,-0.027234122157097,-0.108368739485741) * FEATURE6_texOff(vec2(-1,-1));
res += mat4(-0.233079046010971,0.303322106599808,0.286404162645340,0.073282703757286,0.136208921670914,-0.043064672499895,-0.073238991200924,0.031060321256518,0.020611776039004,0.055094465613365,0.032796252518892,-0.021703345701098,-0.205288335680962,0.110687598586082,-0.072064980864525,-0.011848729103804) * FEATURE6_texOff(vec2(-1,0));
res += mat4(0.044926069676876,0.052595287561417,-0.042612899094820,0.123703047633171,0.024188488721848,0.014565419405699,-0.086067907512188,0.011000507511199,-0.015992799773812,-0.070604600012302,-0.014972414821386,0.061366338282824,-0.074390925467014,-0.016089459881186,-0.025754816830158,-0.041693691164255) * FEATURE6_texOff(vec2(-1,1));
res += mat4(0.201870486140251,-0.049149319529533,0.118326380848885,-0.149655893445015,0.011650464497507,-0.011317246593535,-0.074389636516571,-0.025705518200994,-0.029404284432530,0.010814324952662,0.080471344292164,-0.014099673368037,-0.253226876258850,-0.030185246840119,-0.132876306772232,0.039622690528631) * FEATURE6_texOff(vec2(0,-1));
res += mat4(0.262921720743179,-0.174157023429871,0.017977301031351,-0.158441320061684,-0.128895923495293,-0.138874575495720,0.143066048622131,-0.047866132110357,0.049304109066725,0.044138666242361,-0.094213657081127,0.031263589859009,-0.002323521766812,0.182425111532211,-0.050016213208437,0.039558555930853) * FEATURE6_texOff(vec2(0,0));
res += mat4(-0.067905344069004,0.096289850771427,-0.027869850397110,0.026911132037640,-0.043325629085302,0.048615105450153,-0.013202533125877,-0.017701746895909,-0.051512230187654,-0.118902742862701,0.070366971194744,-0.054116953164339,0.123149134218693,-0.158689588308334,0.031047381460667,0.054628703743219) * FEATURE6_texOff(vec2(0,1));
res += mat4(-0.015064006671309,0.088503584265709,0.082510769367218,-0.092919014394283,0.016413781791925,-0.040490016341209,-0.131918042898178,0.026110533624887,0.027219099923968,0.095825724303722,0.111013457179070,0.035749834030867,-0.047477796673775,-0.077821247279644,0.000858256244101,0.067129246890545) * FEATURE6_texOff(vec2(1,-1));
res += mat4(-0.034740190953016,-0.033229529857635,0.151805162429810,0.124123185873032,0.126810520887375,0.126700788736343,-0.110974125564098,0.042883180081844,-0.046740788966417,-0.132158473134041,-0.035533484071493,-0.114992670714855,0.157176032662392,-0.048825796693563,-0.124622136354446,0.070257909595966) * FEATURE6_texOff(vec2(1,0));
res += mat4(-0.035319115966558,0.326456040143967,-0.291396647691727,0.022568887099624,-0.086916834115982,-0.156438097357750,-0.100783213973045,-0.122066810727119,-0.026536019518971,0.017278483137488,-0.047890555113554,-0.080841533839703,-0.040240578353405,-0.163900211453438,0.188676580786705,0.093806520104408) * FEATURE6_texOff(vec2(1,1));
res = max(res, vec4(0.0)) + vec4(0.064253315329552,-0.000515367661137,0.854216039180756,0.000474996777484) * min(res, vec4(0.0));
return res;
}

//!HOOK LUMA
//!WHEN OUTPUT.w LUMA.w 2.200 * > OUTPUT.h LUMA.h 2.200 * > *
//!COMPONENTS 4
//!BIND FEATURE1
//!BIND FEATURE2
//!BIND FEATURE3
//!BIND FEATURE4
//!BIND FEATURE5
//!BIND FEATURE6
//!SAVE MODEL3
//!DESC [AiUpscale_HQ_Sharp_3x_LineArt] mapping 1_3

vec4 hook()
{
vec4 res = vec4(-0.391600936651230,0.056924156844616,-0.247139528393745,-0.121467426419258);
res += mat4(-0.048157613724470,0.171060323715210,0.026464147493243,0.008792675100267,0.145344838500023,-0.141597792506218,-0.082309275865555,-0.079489141702652,0.029901033267379,-0.128576964139938,-0.028354994952679,-0.048951961100101,-0.027344981208444,-0.169444993138313,0.001736307051033,-0.098597288131714) * FEATURE1_texOff(vec2(-1,-1));
res += mat4(-0.045226342976093,-0.148727357387543,-0.028191562741995,-0.014858913607895,-0.090842455625534,0.023877462372184,0.123659342527390,-0.002138540381566,0.002729658735916,0.199744001030922,-0.030641850084066,0.067984208464622,0.027880473062396,0.122674472630024,-0.017150873318315,0.152118906378746) * FEATURE1_texOff(vec2(-1,0));
res += mat4(0.056350588798523,-0.005832585971802,0.082316361367702,0.041128031909466,-0.055054761469364,0.059800699353218,0.044211067259312,-0.075653865933418,0.099848411977291,-0.082538709044456,-0.017691729590297,0.016471927985549,0.143271848559380,0.035082194954157,-0.031071150675416,0.011211954057217) * FEATURE1_texOff(vec2(-1,1));
res += mat4(0.050826735794544,-0.066633522510529,0.150281682610512,0.030582452192903,0.155081778764725,-0.010557697154582,-0.057511534541845,0.026162268593907,0.057877521961927,-0.094783574342728,0.006771045271307,-0.118821859359741,-0.010820145718753,-0.014501566998661,-0.000497946632095,-0.196207225322723) * FEATURE1_texOff(vec2(0,-1));
res += mat4(0.016145475208759,-0.020957009866834,-0.009884044528008,-0.005119567271322,0.215622499585152,-0.064494900405407,0.105452992022038,-0.173865243792534,-0.068380445241928,-0.048142600804567,0.066686451435089,0.019132172688842,-0.048829391598701,0.069714121520519,0.043630767613649,0.043611731380224) * FEATURE1_texOff(vec2(0,0));
res += mat4(0.077354811131954,0.002600299427286,-0.083175696432590,0.023525860160589,-0.024204673245549,0.082645937800407,0.082106702029705,-0.158823654055595,0.090070389211178,-0.047851804643869,-0.016474591568112,-0.021322974935174,0.134129792451859,-0.139058887958527,0.035643689334393,0.091499574482441) * FEATURE1_texOff(vec2(0,1));
res += mat4(0.010102929547429,0.000391978304833,-0.083302102982998,-0.056715477257967,0.062497343868017,-0.055091127753258,0.029000166803598,-0.043207425624132,-0.099306873977184,0.003851884743199,-0.007893449626863,0.044663198292255,0.102024145424366,-0.039746832102537,0.035008046776056,0.023183269426227) * FEATURE1_texOff(vec2(1,-1));
res += mat4(0.055669289082289,0.099606372416019,0.102371565997601,-0.038162712007761,0.105747647583485,0.032416343688965,0.010164004750550,-0.058894239366055,-0.078870825469494,-0.059549383819103,0.000419522315497,0.031658962368965,-0.027118006721139,-0.022254073992372,0.061211857944727,-0.043983098119497) * FEATURE1_texOff(vec2(1,0));
res += mat4(-0.157165229320526,-0.186394214630127,-0.064987324178219,0.058947078883648,-0.051663815975189,-0.015020481310785,-0.160178959369659,0.016140758991241,0.086133986711502,0.071201235055923,0.070784404873848,-0.016561036929488,-0.035100273787975,0.008503432385623,0.068496555089951,0.037440162152052) * FEATURE1_texOff(vec2(1,1));
res += mat4(0.111366167664528,-0.003967346157879,0.022801391780376,-0.032351378351450,0.025347964838147,-0.208841845393181,-0.012445854954422,-0.057824209332466,-0.023728629574180,-0.045237381011248,0.117990002036095,0.148588642477989,-0.033143125474453,-0.168376564979553,-0.108312986791134,0.039967175573111) * FEATURE2_texOff(vec2(-1,-1));
res += mat4(-0.091254271566868,-0.097382821142673,0.058583606034517,0.073399208486080,0.006772654596716,0.033005315810442,-0.021441167220473,-0.031673468649387,-0.058943696320057,-0.084467411041260,0.229047521948814,-0.016747403889894,0.015217131935060,0.110126107931137,0.091132588684559,-0.008166542276740) * FEATURE2_texOff(vec2(-1,0));
res += mat4(-0.005398271139711,0.073522411286831,-0.070040047168732,0.008263166062534,0.108039155602455,0.137589931488037,-0.054526168853045,-0.028042968362570,-0.143922790884972,-0.075734257698059,0.030554059892893,0.128006801009178,-0.012648900039494,0.161559000611305,0.068713568150997,0.006461201235652) * FEATURE2_texOff(vec2(-1,1));
res += mat4(-0.167284414172173,-0.002873677993193,-0.172025278210640,0.055900558829308,0.021680768579245,-0.032583862543106,0.078805282711983,-0.034665137529373,-0.017287842929363,-0.113657608628273,-0.370627731084824,0.204165920615196,-0.004974883049726,-0.197892472147942,-0.100899599492550,-0.123082004487514) * FEATURE2_texOff(vec2(0,-1));
res += mat4(0.118043243885040,0.041031729429960,0.079241752624512,-0.155463755130768,-0.084456026554108,-0.165226161479950,-0.049201413989067,0.064213164150715,0.247287794947624,0.128139361739159,0.113005608320236,-0.324964046478271,0.086352750658989,-0.056080311536789,0.070914134383202,-0.123412705957890) * FEATURE2_texOff(vec2(0,0));
res += mat4(-0.156959936022758,-0.075554125010967,0.081360086798668,0.021445836871862,0.151525825262070,-0.100128516554832,0.017270740121603,-0.012577963992953,-0.330859780311584,-0.066920906305313,0.025967279449105,-0.074117481708527,-0.126516833901405,-0.131664529442787,0.070453681051731,0.170118302106857) * FEATURE2_texOff(vec2(0,1));
res += mat4(0.095759801566601,-0.008444136939943,0.017843870446086,-0.032658256590366,-0.019877415150404,0.073178812861443,0.003289052052423,0.073268756270409,-0.196790695190430,0.057551395148039,-0.000659886049107,0.017352111637592,-0.111724011600018,0.127980381250381,-0.016366984695196,-0.020387582480907) * FEATURE2_texOff(vec2(1,-1));
res += mat4(-0.037879098206758,-0.082043647766113,-0.063214384019375,0.160506412386894,-0.076013244688511,0.005886060185730,-0.000985392834991,0.039160743355751,0.162205144762993,-0.153414711356163,-0.057387914508581,0.048725880682468,-0.000176283720066,0.019085742533207,0.002882543019950,0.124611921608448) * FEATURE2_texOff(vec2(1,0));
res += mat4(0.166023045778275,-0.008587928488851,-0.047646023333073,-0.035253066569567,0.123414933681488,0.004541836213320,0.051295597106218,0.032245706766844,0.229784950613976,0.006638545077294,-0.025101892650127,0.010823703370988,0.149673610925674,-0.047482267022133,0.034271687269211,-0.048288103193045) * FEATURE2_texOff(vec2(1,1));
res += mat4(0.124700531363487,0.037039201706648,-0.188771501183510,0.159363642334938,-0.031074849888682,-0.008252159692347,0.011597177945077,-0.004701297730207,-0.017354076728225,0.084889747202396,0.110053181648254,-0.027810398489237,-0.037217594683170,-0.043199263513088,-0.184568867087364,0.130890443921089) * FEATURE3_texOff(vec2(-1,-1));
res += mat4(-0.041399672627449,-0.019561551511288,0.158390834927559,-0.124437727034092,0.006129928398877,-0.087477944791317,-0.074133537709713,0.034924689680338,-0.089009657502174,-0.243678733706474,-0.102170169353485,0.059432771056890,0.141034409403801,0.200123503804207,0.037271741777658,-0.107920520007610) * FEATURE3_texOff(vec2(-1,0));
res += mat4(-0.027304004877806,0.134690836071968,0.003871290013194,-0.111477956175804,0.050243731588125,0.070570185780525,0.050259836018085,0.052864551544189,0.145903065800667,0.006441940087825,0.009913256391883,-0.089069083333015,-0.060658540576696,-0.022177055478096,0.172453254461288,-0.035238157957792) * FEATURE3_texOff(vec2(-1,1));
res += mat4(0.010530713945627,0.112467035651207,-0.180460289120674,0.251146495342255,0.020583683624864,0.085341468453407,0.145902633666992,-0.016321856528521,-0.022931115701795,-0.065589815378189,-0.159352794289589,0.047483254224062,-0.063964925706387,0.231505379080772,0.270410805940628,-0.058009967207909) * FEATURE3_texOff(vec2(0,-1));
res += mat4(0.245202243328094,-0.261895716190338,-0.137103095650673,0.004960579331964,-0.101938553154469,-0.124271586537361,-0.067004591226578,0.045097742229700,0.042478326708078,-0.029723921790719,0.062471896409988,-0.169685289263725,-0.013894848525524,-0.145808592438698,-0.141348943114281,0.122678451240063) * FEATURE3_texOff(vec2(0,0));
res += mat4(-0.068568095564842,-0.053862623870373,0.228287756443024,-0.069568231701851,0.120765477418900,-0.004093902185559,0.032074771821499,-0.031372603029013,-0.157120063900948,-0.135111704468727,-0.126331984996796,0.046362731605768,0.171013996005058,0.058398626744747,0.086011618375778,-0.065002955496311) * FEATURE3_texOff(vec2(0,1));
res += mat4(-0.013006042689085,-0.078267797827721,0.140633955597878,0.107099257409573,-0.006626849994063,0.001533702830784,-0.142363354563713,0.017409369349480,-0.077977709472179,-0.076040618121624,-0.218884125351906,-0.042064551264048,0.084159351885319,-0.284774005413055,0.009886933490634,-0.009402983821929) * FEATURE3_texOff(vec2(1,-1));
res += mat4(-0.154103323817253,0.045012433081865,-0.075185023248196,0.186742126941681,0.077434964478016,0.031880576163530,-0.035528846085072,-0.061817437410355,0.017844993621111,-0.005441369954497,-0.037727892398834,0.110552899539471,-0.107751585543156,0.181587412953377,0.159885317087173,-0.069246388971806) * FEATURE3_texOff(vec2(1,0));
res += mat4(0.252107709646225,-0.057960130274296,-0.139038830995560,0.058697536587715,0.010769289918244,-0.052056308835745,0.019996156916022,0.043797891587019,0.019338773563504,-0.131511569023132,0.036582306027412,-0.009695645421743,-0.081865645945072,0.030433153733611,-0.079648539423943,0.128674596548080) * FEATURE3_texOff(vec2(1,1));
res += mat4(0.055885087698698,0.219294875860214,-0.008169569075108,-0.081189341843128,0.032189015299082,0.095420628786087,0.058680851012468,0.112787164747715,0.041453447192907,0.149915292859077,0.039795607328415,-0.080041073262691,-0.003148487303406,0.084213659167290,-0.008939091116190,0.078225150704384) * FEATURE4_texOff(vec2(-1,-1));
res += mat4(-0.077052958309650,-0.165367171168327,0.117549076676369,-0.001505653024651,-0.051878511905670,-0.169859603047371,0.171249017119408,-0.041503641754389,0.092808671295643,0.037664484232664,-0.092294856905937,-0.028567174449563,-0.052249111235142,-0.054043233394623,-0.018785560503602,0.046922143548727) * FEATURE4_texOff(vec2(-1,0));
res += mat4(-0.154236108064651,-0.076458565890789,0.123922407627106,-0.084580145776272,-0.086099795997143,0.108281381428242,0.044361066073179,0.158967435359955,0.109912760555744,0.143650442361832,0.014492993243039,0.065463200211525,-0.087292656302452,0.027490647509694,-0.063403852283955,-0.079543888568878) * FEATURE4_texOff(vec2(-1,1));
res += mat4(0.006175481248647,-0.298888117074966,0.038060881197453,-0.038096889853477,-0.027220834046602,0.171036466956139,-0.006740235257894,0.135742470622063,-0.007854190655053,-0.104205176234245,0.116006493568420,-0.033297583460808,-0.073436781764030,-0.030576469376683,-0.103735350072384,0.022220000624657) * FEATURE4_texOff(vec2(0,-1));
res += mat4(0.030939592048526,-0.023249475285411,-0.171666681766510,-0.063667640089989,0.032296478748322,0.002355332486331,0.002696217503399,-0.029617629945278,-0.009705282747746,-0.035074438899755,0.026944583281875,0.076848834753036,0.088168613612652,-0.030865110456944,0.015303368680179,-0.142339602112770) * FEATURE4_texOff(vec2(0,0));
res += mat4(-0.123140871524811,0.063148535788059,0.121736489236355,-0.093411944806576,0.008852948434651,0.184561371803284,0.115798875689507,-0.078964874148369,-0.017770068719983,-0.111783102154732,-0.012788533233106,0.139468491077423,-0.077509410679340,-0.060358054935932,-0.015194470994174,0.025247441604733) * FEATURE4_texOff(vec2(0,1));
res += mat4(0.068262428045273,0.143591642379761,0.033283986151218,0.052776023745537,0.184398487210274,-0.076509088277817,0.006729516666383,0.020793307572603,-0.017892559990287,0.009190097451210,0.028318975120783,-0.035619784146547,0.015601868741214,0.058430697768927,0.096060886979103,0.099536255002022) * FEATURE4_texOff(vec2(1,-1));
res += mat4(0.031917259097099,-0.133479714393616,0.018315304070711,0.180174887180328,-0.003530006390065,-0.043982289731503,-0.023972600698471,-0.120833925902843,-0.098542973399162,0.012122958898544,0.057316057384014,-0.026823654770851,0.049210585653782,0.027272287756205,-0.062418296933174,0.003625769633800) * FEATURE4_texOff(vec2(1,0));
res += mat4(0.122964411973953,0.219707444310188,-0.059146396815777,0.017680313438177,0.022884245961905,-0.050751101225615,-0.023043911904097,0.035734366625547,0.011354059912264,-0.030303826555610,0.029837930575013,0.002380220917985,-0.043986942619085,-0.036137130111456,0.003331277053803,-0.024385910481215) * FEATURE4_texOff(vec2(1,1));
res += mat4(0.072338342666626,0.013591412454844,-0.028235998004675,0.080628693103790,0.064987547695637,0.040390476584435,-0.018201513215899,-0.024207942187786,-0.016147719696164,-0.152686968445778,-0.026094745844603,0.134057119488716,-0.065121024847031,-0.119997724890709,-0.206499025225639,0.113763071596622) * FEATURE5_texOff(vec2(-1,-1));
res += mat4(-0.048766374588013,-0.206784561276436,0.080763295292854,0.013501564972103,-0.065838217735291,-0.303868591785431,0.082026220858097,0.108334854245186,-0.022984562441707,-0.016349701210856,-0.063467748463154,-0.015148817561567,0.003702076151967,0.131870254874229,0.012928823940456,0.009520430117846) * FEATURE5_texOff(vec2(-1,0));
res += mat4(-0.092186965048313,0.005905412603170,-0.095515131950378,0.014779759570956,-0.126126229763031,-0.191541001200676,-0.097927518188953,0.075059197843075,0.031964067369699,-0.282514542341232,-0.091460660099983,-0.015539922751486,-0.012044926173985,-0.062914304435253,0.085965260863304,0.064062103629112) * FEATURE5_texOff(vec2(-1,1));
res += mat4(-0.054296236485243,-0.244669586420059,-0.169628396630287,0.119174540042877,-0.060601651668549,-0.004939860198647,-0.129268646240234,0.015978066250682,0.050466299057007,0.077856227755547,-0.072054661810398,0.035259876400232,-0.010031226091087,-0.022791348397732,-0.045104719698429,0.012886635959148) * FEATURE5_texOff(vec2(0,-1));
res += mat4(0.063600465655327,0.045694757252932,-0.118356451392174,-0.302610486745834,0.163566127419472,0.069592416286469,-0.040111526846886,-0.227205500006676,0.095574960112572,-0.322523266077042,-0.033304877579212,-0.052267275750637,0.035844661295414,-0.020064592361450,-0.036093365401030,0.132048457860947) * FEATURE5_texOff(vec2(0,0));
res += mat4(-0.128452762961388,0.093596197664738,-0.012106816284359,-0.043136540800333,-0.056305810809135,-0.015872633084655,-0.006107579916716,-0.067442990839481,0.058184921741486,0.058552809059620,-0.013270232826471,-0.012302777729928,0.092302002012730,0.054411530494690,-0.040553983300924,-0.072851687669754) * FEATURE5_texOff(vec2(0,1));
res += mat4(-0.111090183258057,0.280474007129669,0.085229195654392,0.106423445045948,-0.078823879361153,0.060005974024534,0.081851899623871,0.038448657840490,-0.103277191519737,0.052185546606779,0.103544205427170,0.068129085004330,-0.024360522627831,-0.106991529464722,0.055491030216217,0.025631576776505) * FEATURE5_texOff(vec2(1,-1));
res += mat4(0.061070285737514,0.023028902709484,-0.063494831323624,0.181778803467751,-0.117023766040802,-0.061466053128242,-0.053654395043850,0.119891002774239,-0.005019148346037,0.037278920412064,-0.011778726242483,0.039130147546530,-0.013290151022375,0.014328688383102,0.132844254374504,-0.041815482079983) * FEATURE5_texOff(vec2(1,0));
res += mat4(0.326602011919022,0.079012334346771,-0.016096066683531,-0.005631932057440,0.221579581499100,0.134307295084000,-0.017677480354905,-0.009787866845727,0.178943067789078,-0.014115488156676,-0.071788005530834,0.061392515897751,0.091977506875992,-0.012136646546423,-0.020552147179842,0.029152555391192) * FEATURE5_texOff(vec2(1,1));
res += mat4(-0.096774578094482,0.136419355869293,0.122412025928497,-0.074249103665352,0.013513701036572,0.122788310050964,0.103285707533360,0.036222312599421,-0.001795470481738,-0.168202862143517,-0.044406063854694,-0.025588750839233,0.054529093205929,-0.129632130265236,-0.047341898083687,-0.132847368717194) * FEATURE6_texOff(vec2(-1,-1));
res += mat4(0.075445771217346,-0.295758873224258,0.168988704681396,0.035146128386259,-0.055192753672600,-0.202312663197517,-0.014702977612615,0.019468735903502,-0.008894365280867,0.049927402287722,-0.013422267511487,0.086549013853073,-0.056404370814562,0.071685485541821,-0.140886932611465,0.027654817327857) * FEATURE6_texOff(vec2(-1,0));
res += mat4(-0.005293601658195,-0.082968376576900,0.091069921851158,0.020273307338357,0.062808930873871,0.099801972508430,-0.060321964323521,-0.018666859716177,0.108979620039463,0.101347036659718,0.026362702250481,-0.053457178175449,-0.008601499721408,-0.077328190207481,0.142478302121162,0.022261137142777) * FEATURE6_texOff(vec2(-1,1));
res += mat4(-0.055201213806868,0.099105507135391,-0.041003074496984,-0.042000956833363,0.027040874585509,-0.348695129156113,-0.086390659213066,0.045494996011257,0.055201869457960,0.125827983021736,0.015367673709989,-0.020941019058228,-0.099076479673386,0.150090783834457,0.014640010893345,-0.092454604804516) * FEATURE6_texOff(vec2(0,-1));
res += mat4(-0.038341525942087,0.091325022280216,-0.103342197835445,-0.247059598565102,0.039467293769121,0.102109305560589,0.060671567916870,-0.020640309900045,0.027809835970402,-0.123979531228542,-0.091054931282997,-0.025910273194313,-0.033684149384499,-0.196263968944550,-0.165649369359016,0.201819106936455) * FEATURE6_texOff(vec2(0,0));
res += mat4(-0.208268478512764,-0.041966676712036,0.094211414456367,0.056342963129282,0.001768839545548,-0.107021622359753,0.005617241840810,0.014686548151076,0.029416579753160,0.048018984496593,0.028061330318451,0.050925515592098,0.155334025621414,0.146177113056183,0.046665348112583,-0.193153351545334) * FEATURE6_texOff(vec2(0,1));
res += mat4(0.114105179905891,0.081233151257038,-0.047690521925688,-0.071702398359776,0.032040864229202,0.255289852619171,-0.114176161587238,0.116820052266121,-0.046841897070408,-0.000215462627239,0.065585404634476,0.072485014796257,-0.036319989711046,0.042605567723513,0.148436367511749,0.022031823173165) * FEATURE6_texOff(vec2(1,-1));
res += mat4(0.206837266683578,0.118369087576866,0.045897349715233,0.065074212849140,0.008942966349423,-0.150197222828865,-0.082633383572102,0.125601142644882,-0.008003477938473,0.036359388381243,-0.005414041690528,-0.047632757574320,-0.209954842925072,0.001765542430803,-0.058398619294167,-0.037984918802977) * FEATURE6_texOff(vec2(1,0));
res += mat4(0.110759653151035,0.032523203641176,-0.051639635115862,0.015554256737232,0.038997687399387,0.082826785743237,0.137498527765274,-0.156955435872078,-0.047793686389923,0.069202460348606,-0.002147438703105,-0.030614202842116,-0.009050603024662,0.056537766009569,-0.072094291448593,0.015281292609870) * FEATURE6_texOff(vec2(1,1));
res = max(res, vec4(0.0)) + vec4(0.022897470742464,0.767569482326508,0.001653474289924,-0.020568098872900) * min(res, vec4(0.0));
return res;
}

//!HOOK LUMA
//!WHEN OUTPUT.w LUMA.w 2.200 * > OUTPUT.h LUMA.h 2.200 * > *
//!COMPONENTS 4
//!BIND FEATURE1
//!BIND FEATURE2
//!BIND FEATURE3
//!BIND FEATURE4
//!BIND FEATURE5
//!BIND FEATURE6
//!SAVE MODEL4
//!DESC [AiUpscale_HQ_Sharp_3x_LineArt] mapping 1_4

vec4 hook()
{
vec4 res = vec4(-0.464487105607986,-0.119635485112667,-0.267322629690170,0.018856065347791);
res += mat4(-0.014162041246891,0.070135913789272,0.011768841184676,0.014515271410346,-0.289543390274048,0.016455583274364,0.018823012709618,0.165273740887642,-0.149294957518578,-0.128547519445419,-0.073709495365620,0.007839041762054,-0.121544308960438,-0.055757619440556,-0.134752616286278,0.146141171455383) * FEATURE1_texOff(vec2(-1,-1));
res += mat4(-0.037798784673214,-0.095778189599514,0.015911448746920,0.054635319858789,-0.434647619724274,-0.022493856027722,0.018717810511589,0.065203748643398,0.109610341489315,0.107449218630791,0.026390297338367,-0.010540586896241,0.134193107485771,0.113636136054993,0.021857621148229,-0.160160437226295) * FEATURE1_texOff(vec2(-1,0));
res += mat4(0.106309100985527,0.072025448083878,0.037867654114962,-0.007188155781478,-0.310237139463425,0.057775795459747,0.103915669023991,0.252007305622101,-0.067057773470879,0.110033437609673,0.013642407022417,-0.000691189430654,0.000372327747755,0.077604793012142,-0.070359453558922,0.100121051073074) * FEATURE1_texOff(vec2(-1,1));
res += mat4(0.018879549577832,0.041460346430540,0.028516001999378,0.020003303885460,-0.182273969054222,0.153884738683701,0.255143076181412,-0.258042037487030,-0.113565653562546,-0.062569342553616,0.073483966290951,-0.060219720005989,-0.030748816207051,0.057028491050005,-0.018796090036631,-0.052832823246717) * FEATURE1_texOff(vec2(0,-1));
res += mat4(-0.097714245319366,0.108948402106762,-0.095960542559624,-0.049165129661560,-0.375826656818390,-0.069186657667160,0.189051285386086,-0.028628211468458,0.048733539879322,-0.015167860314250,0.026598639786243,0.069568745791912,-0.036239612847567,-0.041462369263172,-0.011545019224286,0.195167526602745) * FEATURE1_texOff(vec2(0,0));
res += mat4(-0.031932968646288,-0.027122011408210,-0.031302370131016,0.046235699206591,-0.344743877649307,-0.017326375469565,0.071011647582054,0.200386866927147,0.016990918666124,-0.055212549865246,0.010700969025493,0.057378150522709,-0.066402249038219,0.004567964933813,0.032353479415178,0.127650663256645) * FEATURE1_texOff(vec2(0,1));
res += mat4(-0.025079075247049,0.069142565131187,-0.055563598871231,-0.014496203511953,-0.097516432404518,0.022029282525182,0.071136832237244,-0.004276328254491,-0.111209176480770,0.045734573155642,-0.085902109742165,-0.037008374929428,-0.067709825932980,0.052074577659369,-0.058479420840740,-0.118683226406574) * FEATURE1_texOff(vec2(1,-1));
res += mat4(-0.035535056143999,-0.182911783456802,0.026568135246634,0.072308965027332,-0.104512728750706,0.061728876084089,0.102774649858475,-0.071190744638443,0.043965298682451,0.047380018979311,-0.044869992882013,0.015429010614753,0.032386064529419,-0.087096579372883,0.095172889530659,-0.179009363055229) * FEATURE1_texOff(vec2(1,0));
res += mat4(0.019862281158566,0.081121854484081,0.087950989603996,0.007893403060734,-0.069765523076057,-0.068977035582066,0.083394117653370,-0.057579528540373,0.002826217329130,0.044463206082582,0.000475190317957,-0.031026132404804,-0.008834525942802,-0.013631704263389,0.058588940650225,-0.091227591037750) * FEATURE1_texOff(vec2(1,1));
res += mat4(0.013952626846731,0.154592856764793,0.060052793473005,0.129140838980675,-0.056655246764421,-0.068369857966900,-0.017321584746242,0.084612667560577,0.319618225097656,0.159033477306366,-0.054446272552013,-0.051542501896620,-0.053205184638500,-0.296641230583191,0.093750879168510,0.014591238461435) * FEATURE2_texOff(vec2(-1,-1));
res += mat4(-0.138180494308472,-0.069912813603878,-0.017955346032977,-0.011984638869762,0.114946380257607,-0.063345499336720,0.028021123260260,-0.253132939338684,-0.309095352888107,-0.089007049798965,0.005897358991206,0.234221428632736,0.026426218450069,0.053379487246275,0.006710762623698,-0.047564748674631) * FEATURE2_texOff(vec2(-1,0));
res += mat4(-0.128696978092194,-0.125033378601074,0.014410479925573,-0.036702740937471,0.127842605113983,0.265543311834335,0.027396539226174,-0.120703339576721,-0.267372339963913,-0.189899787306786,0.072850890457630,0.122943125665188,0.083677731454372,-0.015045288950205,-0.021706521511078,-0.087854042649269) * FEATURE2_texOff(vec2(-1,1));
res += mat4(-0.042008075863123,-0.167187646031380,-0.092529118061066,-0.107929952442646,-0.065578773617744,0.061505291610956,0.063632257282734,0.039617247879505,0.088470362126827,-0.024253141134977,0.058495376259089,-0.007761392276734,-0.242086216807365,-0.057547207921743,-0.128942281007767,0.138700485229492) * FEATURE2_texOff(vec2(0,-1));
res += mat4(0.119496420025826,-0.077115990221500,0.033221904188395,0.080672957003117,0.128830328583717,-0.002501794602722,0.079266518354416,-0.005079153925180,0.151539117097855,0.022227719426155,-0.035263434052467,-0.241283401846886,0.246100604534149,0.160535305738449,0.012507805600762,-0.121428199112415) * FEATURE2_texOff(vec2(0,0));
res += mat4(0.078626662492752,0.283784329891205,0.018966421484947,0.009074297733605,0.109297618269920,-0.107814066112041,0.075523637235165,0.070537015795708,-0.156053483486176,0.193581819534302,-0.006740441080183,0.066668041050434,0.020047208294272,0.095672979950905,0.098791614174843,0.059290803968906) * FEATURE2_texOff(vec2(0,1));
res += mat4(0.018801564350724,0.023430753499269,-0.059377491474152,-0.018020890653133,-0.031982593238354,-0.037952076643705,-0.082404777407646,0.041906040161848,-0.046844091266394,0.019956812262535,-0.132626891136169,0.010458381846547,-0.072316199541092,0.009238774888217,-0.049865227192640,-0.059941131621599) * FEATURE2_texOff(vec2(1,-1));
res += mat4(0.056570637971163,0.039234738796949,0.067356415092945,-0.068108692765236,-0.053438447415829,-0.004663124680519,-0.047414537519217,0.157519683241844,-0.053981788456440,0.117580339312553,-0.005334001965821,0.033992365002632,-0.050700016319752,0.067399740219116,-0.091319322586060,0.013557169586420) * FEATURE2_texOff(vec2(1,0));
res += mat4(-0.029885057359934,0.005295593291521,-0.056339129805565,0.032722886651754,0.010144320316613,-0.034831237047911,-0.011137342080474,-0.005929771810770,0.064233720302582,-0.020738350227475,0.054659180343151,-0.144857451319695,-0.109381079673767,-0.026364021003246,-0.027016364037991,-0.037335854023695) * FEATURE2_texOff(vec2(1,1));
res += mat4(0.057109661400318,0.115711063146591,-0.058894440531731,-0.226785615086555,0.047402672469616,-0.056018374860287,-0.045660607516766,0.055554587393999,0.042773228138685,0.092768184840679,0.040164284408092,0.090583592653275,0.056579247117043,-0.071296691894531,0.024921357631683,-0.042959172278643) * FEATURE3_texOff(vec2(-1,-1));
res += mat4(-0.166167125105858,-0.211343050003052,0.058804787695408,-0.140898659825325,0.055287145078182,-0.042970713227987,-0.008027598261833,-0.094137661159039,-0.011683652177453,-0.045371472835541,-0.110248021781445,-0.001881824457087,0.008728618733585,0.149709403514862,0.100059993565083,-0.077073372900486) * FEATURE3_texOff(vec2(-1,0));
res += mat4(0.008477570489049,0.193812221288681,-0.082677207887173,0.161571338772774,0.012572398409247,0.174859985709190,0.042877722531557,-0.087141416966915,-0.001531571266241,0.123335212469101,0.066334888339043,-0.007786597125232,-0.160927698016167,-0.267675727605820,-0.063446737825871,0.135256007313728) * FEATURE3_texOff(vec2(-1,1));
res += mat4(0.103266939520836,-0.059755831956863,-0.052979070693254,0.102651067078114,0.008373148739338,0.112266138195992,0.077237211167812,0.044191394001245,-0.053535461425781,-0.073348388075829,-0.023658452555537,-0.119527325034142,0.090059220790863,0.204467639327049,0.010237036272883,0.051148742437363) * FEATURE3_texOff(vec2(0,-1));
res += mat4(0.136570170521736,0.167832687497139,0.051402967423201,-0.189715519547462,-0.103506766259670,-0.106876522302628,-0.090230345726013,0.004430603701621,0.037139039486647,0.017500827088952,0.027324188500643,0.066872365772724,-0.133677944540977,-0.002590438351035,-0.027688616886735,-0.007044310681522) * FEATURE3_texOff(vec2(0,0));
res += mat4(0.197395250201225,0.025215236470103,0.160348877310753,-0.085046894848347,0.080626405775547,-0.071540214121342,0.032548505812883,0.078449197113514,0.082086980342865,0.103436216711998,0.042822919785976,0.008877759799361,0.072060428559780,0.022977868095040,-0.033704619854689,-0.106279909610748) * FEATURE3_texOff(vec2(0,1));
res += mat4(0.074409499764442,-0.105210371315479,-0.007928004488349,0.000818430853542,0.001065216609277,0.043408248573542,0.085663847625256,0.063237942755222,-0.056233901530504,-0.275146096944809,-0.047264866530895,0.042391903698444,0.035127781331539,-0.059810433536768,0.041382685303688,0.024870352819562) * FEATURE3_texOff(vec2(1,-1));
res += mat4(0.017199495807290,0.038751505315304,0.039213497191668,0.180127203464508,-0.039089407771826,0.034810461103916,-0.041062857955694,-0.015540462918580,0.085621088743210,0.160111308097839,0.117652364075184,0.015284074470401,0.053634915500879,-0.029877630993724,-0.018933068960905,-0.092912003397942) * FEATURE3_texOff(vec2(1,0));
res += mat4(0.006422404665500,-0.066771246492863,-0.136296749114990,-0.040039397776127,-0.029631089419127,0.084637708961964,-0.023780822753906,-0.028661705553532,-0.075936526060104,-0.007468501571566,-0.122954398393631,-0.039001397788525,-0.059519220143557,0.008123463019729,0.000781365903094,0.074407048523426) * FEATURE3_texOff(vec2(1,1));
res += mat4(-0.154975831508636,0.005637599620968,0.045391336083412,0.190837085247040,0.044148392975330,0.076809257268906,-0.112640589475632,-0.060343731194735,-0.026658121496439,-0.098262026906013,0.056996513158083,0.057458065450191,0.113498076796532,0.097798116505146,0.121576152741909,0.005561183206737) * FEATURE4_texOff(vec2(-1,-1));
res += mat4(-0.203701928257942,-0.243616744875908,0.004516153596342,0.182178348302841,-0.103650659322739,-0.138270556926727,-0.025508798658848,0.017465662211180,0.076792299747467,0.117723472416401,-0.045398447662592,-0.098200157284737,-0.086431659758091,-0.064928151667118,0.003055366454646,0.076550863683224) * FEATURE4_texOff(vec2(-1,0));
res += mat4(-0.111146941781044,0.069387428462505,-0.091807641088963,0.159771844744682,-0.071946300566196,-0.030461719259620,-0.071252360939980,0.197656199336052,-0.009886461310089,0.107001721858978,-0.014945621602237,-0.007935552857816,0.006918848026544,-0.112084932625294,0.049718163907528,-0.037551481276751) * FEATURE4_texOff(vec2(-1,1));
res += mat4(0.035070151090622,-0.213519513607025,0.109452694654465,-0.135036051273346,-0.052664142102003,-0.038901876658201,-0.134199306368828,-0.125366985797882,0.012256034649909,0.014163315296173,0.052866511046886,0.037024889141321,0.063779413700104,-0.012702192179859,-0.062562905251980,-0.106946267187595) * FEATURE4_texOff(vec2(0,-1));
res += mat4(0.240278124809265,0.131574332714081,0.073758535087109,-0.271855175495148,-0.145190000534058,0.033641010522842,-0.027219694107771,0.104185611009598,-0.036996778100729,-0.012182600796223,0.047793935984373,-0.043687060475349,-0.046218268573284,-0.005942623596638,-0.057930044829845,0.030110856518149) * FEATURE4_texOff(vec2(0,0));
res += mat4(0.211692988872528,-0.012206270359457,-0.111696109175682,-0.197857648134232,-0.098737157881260,-0.084118470549583,-0.068154789507389,-0.072396062314510,-0.033182758837938,-0.169269859790802,0.052326202392578,0.052620187401772,-0.032284144312143,0.152135491371155,-0.065806865692139,-0.035714048892260) * FEATURE4_texOff(vec2(0,1));
res += mat4(-0.070839948952198,0.092202074825764,-0.038446959108114,-0.131554648280144,0.073785781860352,0.035336785018444,0.159897431731224,0.035990204662085,-0.042532954365015,0.008165545761585,-0.004080299288034,-0.033803895115852,-0.011016456410289,0.040897637605667,-0.064250074326992,0.014616255648434) * FEATURE4_texOff(vec2(1,-1));
res += mat4(-0.006065141409636,0.029550354927778,-0.058210775256157,0.016574377194047,-0.016465039923787,0.030692847445607,0.032917130738497,-0.125407576560974,-0.103720068931580,-0.114838920533657,-0.108125537633896,0.013602925464511,-0.017341822385788,0.030631983652711,-0.053160645067692,0.157978788018227) * FEATURE4_texOff(vec2(1,0));
res += mat4(-0.119346119463444,-0.204272985458374,-0.063005454838276,0.019585207104683,-0.039933331310749,0.165411680936813,-0.118120193481445,0.028812784701586,0.038546815514565,0.131308242678642,0.016235277056694,-0.012352814897895,0.019504133611917,-0.046566970646381,0.014810527674854,-0.025645326822996) * FEATURE4_texOff(vec2(1,1));
res += mat4(0.108643621206284,-0.024651451036334,0.182646736502647,-0.002470963168889,0.104221835732460,0.127875000238419,0.095354005694389,-0.037829220294952,0.098082207143307,-0.041739974170923,0.031609188765287,-0.128539964556694,-0.096223011612892,0.001791018294170,-0.073316648602486,-0.042573828250170) * FEATURE5_texOff(vec2(-1,-1));
res += mat4(-0.101887181401253,-0.157494440674782,-0.026633013039827,0.109106533229351,-0.108566053211689,-0.190972447395325,-0.039236810058355,0.129149138927460,0.010543979704380,0.030305696651340,0.066324390470982,-0.123405665159225,0.081682138144970,0.085659310221672,0.052008170634508,-0.151331081986427) * FEATURE5_texOff(vec2(-1,0));
res += mat4(-0.195114612579346,0.014624183066189,0.029524063691497,0.091410264372826,-0.089542485773563,-0.060051184147596,-0.063749693334103,-0.047164350748062,-0.052283752709627,-0.035527866333723,-0.021094502881169,0.098429270088673,-0.098496116697788,-0.048242494463921,-0.031671039760113,0.063785783946514) * FEATURE5_texOff(vec2(-1,1));
res += mat4(0.046002492308617,-0.197468668222427,-0.040178395807743,0.111804693937302,-0.009481430985034,-0.129670783877373,-0.016167148947716,-0.104562610387802,0.133679032325745,-0.096989169716835,-0.005865714512765,-0.020631831139326,0.101639948785305,-0.082774423062801,0.044764656573534,-0.136927545070648) * FEATURE5_texOff(vec2(0,-1));
res += mat4(0.309828490018845,0.098645903170109,0.133794784545898,-0.251409143209457,0.146548882126808,0.009532522410154,0.020878449082375,0.089009173214436,0.156891286373138,0.007973953150213,0.063979923725128,-0.135189339518547,0.006638039834797,-0.012644321657717,0.099392011761665,0.117018058896065) * FEATURE5_texOff(vec2(0,0));
res += mat4(0.084171302616596,-0.025721272453666,-0.156014412641525,-0.088586315512657,0.120196536183357,0.304916888475418,-0.013514163903892,-0.084351204335690,0.155742108821869,-0.019475625827909,0.042993888258934,0.029302498325706,-0.054363328963518,-0.060308557003736,-0.010160214267671,0.028077678754926) * FEATURE5_texOff(vec2(0,1));
res += mat4(-0.063411213457584,-0.006525847129524,0.017209114506841,0.073401510715485,0.010354062542319,-0.131485700607300,0.052279498428106,-0.016149891540408,0.000781275506597,-0.089049197733402,-0.065521709620953,0.041316464543343,-0.093458615243435,0.066718094050884,-0.045500833541155,0.042934004217386) * FEATURE5_texOff(vec2(1,-1));
res += mat4(-0.107961937785149,0.186884969472885,-0.085315987467766,0.197188973426819,-0.197436824440956,0.377548784017563,-0.073016293346882,-0.026824146509171,-0.006012103520334,0.205538779497147,-0.057900983840227,-0.020155787467957,0.087800815701485,-0.119255647063255,0.011082152836025,0.017742726951838) * FEATURE5_texOff(vec2(1,0));
res += mat4(-0.074558168649673,0.061395917087793,-0.119923017919064,-0.187178134918213,-0.052658539265394,-0.271665722131729,-0.072919175028801,0.041844952851534,-0.029334863647819,0.099526233971119,-0.092452868819237,-0.005928478203714,0.000050941904192,0.210941851139069,-0.025882167741656,0.011204981245100) * FEATURE5_texOff(vec2(1,1));
res += mat4(-0.182605564594269,0.077226743102074,0.107658207416534,0.143906578421593,0.031535170972347,0.110120505094528,-0.062728881835938,-0.071827314794064,-0.045233242213726,-0.073220357298851,-0.034516282379627,0.132258355617523,0.028672413900495,-0.063929684460163,-0.065631173551083,-0.105215087532997) * FEATURE6_texOff(vec2(-1,-1));
res += mat4(-0.118167556822300,-0.227188482880592,-0.200645387172699,0.399921000003815,-0.026635183021426,-0.151514336466789,0.008128150366247,0.056589532643557,0.148554578423500,0.161662578582764,0.056757021695375,-0.153957411646843,0.330892771482468,0.150612801313400,-0.040121059864759,-0.048059359192848) * FEATURE6_texOff(vec2(-1,0));
res += mat4(-0.000213765888475,0.068735688924789,0.072870038449764,0.136779412627220,0.053901966661215,0.327705949544907,-0.011728291399777,-0.003716835984960,-0.086482398211956,0.045712463557720,-0.061278335750103,0.085218481719494,-0.080025427043438,-0.094961628317833,-0.097407296299934,0.114877805113792) * FEATURE6_texOff(vec2(-1,1));
res += mat4(0.101870857179165,-0.093364477157593,0.060454718768597,-0.049678880721331,-0.045917585492134,-0.091875180602074,0.010184548795223,0.040105789899826,-0.033553257584572,0.157663837075233,0.013013810850680,-0.113799393177032,-0.189223960042000,0.144207656383514,-0.211205750703812,0.102781362831593) * FEATURE6_texOff(vec2(0,-1));
res += mat4(0.015327326022089,-0.017741514369845,-0.005359331611544,-0.281927168369293,0.134706780314445,0.133907064795494,0.135508567094803,-0.190230607986450,-0.152261048555374,-0.136821508407593,0.000008138880730,0.094733744859695,0.010066504590213,-0.104267999529839,0.015461134724319,0.230175733566284) * FEATURE6_texOff(vec2(0,0));
res += mat4(0.106804199516773,0.188184738159180,-0.061352826654911,-0.138121679425240,-0.067735172808170,-0.005643136799335,-0.017490062862635,0.077369347214699,-0.079795584082603,0.058004237711430,0.007699458859861,-0.043846294283867,-0.119899980723858,-0.191667869687080,0.016533499583602,-0.181506454944611) * FEATURE6_texOff(vec2(0,1));
res += mat4(0.006177676841617,0.055590797215700,0.191498115658760,-0.009395198896527,0.048575289547443,0.066067628562450,-0.043882463127375,0.017179604619741,-0.103008694946766,-0.199049919843674,0.023497970774770,0.036252073943615,-0.010125659406185,0.050688460469246,-0.045297753065825,0.066674545407295) * FEATURE6_texOff(vec2(1,-1));
res += mat4(0.011762054637074,0.014496222138405,-0.058443691581488,-0.093524821102619,-0.130912154912949,-0.022567454725504,-0.019766494631767,0.087661370635033,0.036842588335276,0.169897019863129,0.108719184994698,0.037623129785061,-0.083835609257221,-0.031602367758751,0.026140874251723,0.050581853836775) * FEATURE6_texOff(vec2(1,0));
res += mat4(0.052239120006561,-0.076878391206264,-0.159817233681679,-0.023821214213967,0.052378334105015,-0.280252486467361,0.005707668140531,-0.045155182480812,0.059680022299290,-0.199940055608749,-0.010029045864940,-0.000100812903838,-0.016524199396372,0.107254624366760,-0.026307689025998,0.029332045465708) * FEATURE6_texOff(vec2(1,1));
res = max(res, vec4(0.0)) + vec4(0.005238088779151,-0.103056065738201,0.140564978122711,0.209587246179581) * min(res, vec4(0.0));
return res;
}

//!HOOK LUMA
//!WHEN OUTPUT.w LUMA.w 2.200 * > OUTPUT.h LUMA.h 2.200 * > *
//!COMPONENTS 4
//!BIND FEATURE1
//!BIND FEATURE2
//!BIND FEATURE3
//!BIND FEATURE4
//!BIND FEATURE5
//!BIND FEATURE6
//!SAVE MODEL5
//!DESC [AiUpscale_HQ_Sharp_3x_LineArt] mapping 1_5

vec4 hook()
{
vec4 res = vec4(-0.004490681458265,-0.231925681233406,0.054223865270615,-0.079284198582172);
res += mat4(-0.014887960627675,0.145470470190048,-0.064093686640263,0.007579350844026,-0.023027658462524,-0.025456525385380,-0.178302511572838,-0.008497519418597,-0.113191343843937,-0.040734790265560,-0.052504543215036,0.020946089178324,0.099747940897942,0.074484907090664,0.334542542695999,0.020419700071216) * FEATURE1_texOff(vec2(-1,-1));
res += mat4(0.081047825515270,0.004936433862895,0.020510055124760,0.067798443138599,0.191924378275871,-0.024949312210083,0.146926805377007,0.064708992838860,0.136753693223000,0.063250452280045,-0.045716755092144,-0.003120898036286,-0.164372414350510,0.062623925507069,-0.160590991377831,-0.032423105090857) * FEATURE1_texOff(vec2(-1,0));
res += mat4(-0.054274812340736,-0.121792115271091,-0.009380934759974,-0.079689897596836,-0.160228937864304,0.052697230130434,0.081532843410969,-0.026690492406487,-0.092381291091442,0.139727309346199,0.053089939057827,-0.005716757848859,0.176238805055618,0.010458404198289,-0.027251932770014,-0.005758864339441) * FEATURE1_texOff(vec2(-1,1));
res += mat4(0.045843832194805,0.105109021067619,0.076115228235722,0.012622719630599,0.130503535270691,-0.052332293242216,-0.191925317049026,-0.182222113013268,0.054135039448738,-0.103210598230362,0.031620446592569,0.068586371839046,-0.030511353164911,-0.105888940393925,0.399456024169922,0.132135748863220) * FEATURE1_texOff(vec2(0,-1));
res += mat4(-0.114450708031654,-0.027755143120885,-0.018375677987933,-0.058752562850714,0.228547483682632,-0.008192988112569,0.305574327707291,-0.106355875730515,0.025078160688281,0.015172663144767,-0.045363590121269,0.006342923734337,-0.212663784623146,-0.210730582475662,-0.238441467285156,-0.085314907133579) * FEATURE1_texOff(vec2(0,0));
res += mat4(-0.013388445600867,-0.045585997402668,-0.012064985930920,-0.016558781266212,-0.308655679225922,-0.058343306183815,0.033605016767979,-0.239772662520409,0.080969706177711,-0.050502993166447,0.040588881820440,0.057577036321163,0.206764370203018,-0.156598985195160,0.060692835599184,-0.073287107050419) * FEATURE1_texOff(vec2(0,1));
res += mat4(-0.059263270348310,0.157235607504845,-0.040114514529705,-0.027986243367195,0.082860380411148,-0.035673793405294,-0.106512583792210,0.027658952400088,0.045801006257534,-0.084685035049915,0.041006423532963,0.001152934972197,0.009183220565319,0.084924019873142,-0.014840979129076,-0.192364051938057) * FEATURE1_texOff(vec2(1,-1));
res += mat4(0.094816058874130,0.044646311551332,-0.085822917521000,0.028410624712706,0.131149128079414,-0.035761438310146,-0.062569804489613,-0.157508924603462,-0.077690422534943,0.016240091994405,-0.037799384444952,-0.154512777924538,-0.139077693223953,0.127233564853668,-0.162311598658562,-0.105234235525131) * FEATURE1_texOff(vec2(1,0));
res += mat4(0.013112574815750,-0.077974900603294,0.049962785094976,0.167027220129967,-0.111408092081547,-0.156882673501968,0.016612693667412,-0.194502294063568,0.021452378481627,0.079345144331455,-0.018564382568002,-0.076864086091518,0.018257053568959,0.060055106878281,-0.001964074093848,-0.081762954592705) * FEATURE1_texOff(vec2(1,1));
res += mat4(-0.018988339230418,0.102295935153961,0.083678200840950,0.069975487887859,0.042241871356964,0.018288847059011,-0.048930238932371,0.087608389556408,0.108749724924564,-0.013198970817029,-0.068293794989586,-0.031418144702911,0.074221536517143,-0.286877572536469,-0.007992682047188,-0.064290583133698) * FEATURE2_texOff(vec2(-1,-1));
res += mat4(-0.041405197232962,-0.134965911507607,-0.080823563039303,-0.060880646109581,-0.100522600114346,-0.037867017090321,-0.036390397697687,0.011148402467370,-0.165448665618896,0.027722977101803,-0.040655672550201,0.026827489957213,0.029485234990716,-0.099519774317741,-0.014152335934341,-0.020515786483884) * FEATURE2_texOff(vec2(-1,0));
res += mat4(0.051015492528677,0.195527940988541,-0.021463999524713,-0.038723897188902,-0.041892841458321,-0.121158652007580,0.050012096762657,-0.023187944665551,-0.011595096439123,-0.311084806919098,0.025757450610399,0.104903027415276,0.026112301275134,0.057181905955076,0.054805483669043,0.119499839842319) * FEATURE2_texOff(vec2(-1,1));
res += mat4(0.041711203753948,-0.029370095580816,-0.146290346980095,-0.125147491693497,-0.108038470149040,0.017376566305757,0.251108527183533,0.114394247531891,0.072602413594723,0.055568162351847,-0.312519699335098,-0.062546201050282,0.033856693655252,0.008420346304774,0.001745549263433,0.023275153711438) * FEATURE2_texOff(vec2(0,-1));
res += mat4(0.196050807833672,-0.016826884821057,0.207565709948540,0.050500456243753,-0.107215605676174,-0.030271496623755,-0.089067645370960,-0.004916070029140,0.271873563528061,0.189256116747856,0.222245931625366,0.422787040472031,0.011229605413973,0.246706038713455,0.123123042285442,0.022735748440027) * FEATURE2_texOff(vec2(0,0));
res += mat4(-0.181254819035530,-0.091180481016636,0.006620725151151,-0.062347300350666,0.245819911360741,0.044887620955706,-0.021336413919926,-0.020136989653111,-0.082124635577202,-0.016660947352648,0.089673727750778,-0.057389445602894,-0.261654376983643,-0.009596741758287,0.010624815709889,0.065700232982635) * FEATURE2_texOff(vec2(0,1));
res += mat4(-0.069734394550323,0.069732487201691,0.119223035871983,-0.002445341087878,0.067754402756691,-0.023233886808157,-0.020669357851148,-0.127686560153961,-0.087372519075871,-0.139114096760750,-0.055690180510283,0.054109152406454,-0.035655703395605,-0.043659165501595,0.112457163631916,0.005926691927016) * FEATURE2_texOff(vec2(1,-1));
res += mat4(-0.082559831440449,-0.196744501590729,-0.126365095376968,-0.120518863201141,-0.045655056834221,0.017569651827216,-0.079302340745926,-0.116627223789692,-0.149374142289162,0.092517621815205,-0.022500313818455,0.049100548028946,-0.032957386225462,0.095836639404297,-0.238689288496971,-0.181940793991089) * FEATURE2_texOff(vec2(1,0));
res += mat4(0.164717629551888,0.129779785871506,-0.000375259318389,0.249908477067947,0.071995839476585,0.021596055477858,0.089849919080734,-0.145024999976158,-0.054481722414494,-0.049485486000776,0.029830357059836,0.095283359289169,0.152007445693016,0.039577730000019,0.018048644065857,-0.033410705626011) * FEATURE2_texOff(vec2(1,1));
res += mat4(-0.021529106423259,0.305647850036621,-0.250986605882645,0.072892837226391,-0.022810535505414,-0.104356318712234,-0.148382052779198,-0.003076925873756,0.033381942659616,0.042464144527912,0.009381542913616,0.104117147624493,0.068735517561436,0.127609565854073,-0.014723544009030,-0.025488179177046) * FEATURE3_texOff(vec2(-1,-1));
res += mat4(-0.001740977284499,0.036924131214619,0.126245245337486,0.122602097690105,0.101179599761963,-0.139332652091980,0.127285137772560,-0.015290898270905,-0.042537644505501,-0.295388460159302,-0.043933864682913,0.016416665166616,-0.023635881021619,0.214146301150322,0.094332382082939,-0.029594438150525) * FEATURE3_texOff(vec2(-1,0));
res += mat4(-0.093687929213047,-0.032073516398668,0.069349870085716,0.024421090260148,-0.108261533081532,-0.014626571908593,0.046017702668905,-0.030481336638331,0.033647056668997,0.110843017697334,0.097578108310699,-0.001891529071145,-0.043189387768507,0.025322755798697,-0.022092508152127,-0.014830432832241) * FEATURE3_texOff(vec2(-1,1));
res += mat4(0.071986809372902,0.123496100306511,-0.286704629659653,-0.165870413184166,0.093069590628147,0.169175535440445,0.013598955236375,0.049901124089956,-0.007119703572243,0.088843852281570,-0.010230042040348,0.041762314736843,0.012846203520894,-0.248497992753983,0.128751620650291,-0.065660275518894) * FEATURE3_texOff(vec2(0,-1));
res += mat4(0.097331419587135,-0.127653568983078,0.158805727958679,-0.101766541600227,-0.088060334324837,-0.026281099766493,-0.105037435889244,-0.082237839698792,0.095805823802948,-0.001378508284688,0.129366144537926,0.107409924268723,-0.105782575905323,-0.217007786035538,-0.172409370541573,-0.040139105170965) * FEATURE3_texOff(vec2(0,0));
res += mat4(-0.169396385550499,0.252609431743622,0.154768332839012,-0.155775219202042,0.119586020708084,0.044256262481213,0.031128112226725,0.023181729018688,-0.170850560069084,0.059358540922403,-0.078491695225239,0.185102224349976,0.204263269901276,-0.074622198939323,0.010016793385148,-0.058744534850121) * FEATURE3_texOff(vec2(0,1));
res += mat4(0.062689028680325,0.052670646458864,0.055722210556269,-0.120098248124123,-0.008078793063760,0.097666829824448,0.010251303203404,-0.036960221827030,-0.004688169341534,-0.190012305974960,0.060598555952311,0.068326123058796,0.006070973351598,0.045546110719442,-0.073254451155663,-0.117249988019466) * FEATURE3_texOff(vec2(1,-1));
res += mat4(-0.157044515013695,-0.437264502048492,-0.106770165264606,0.090267658233643,-0.027648119255900,0.027908820658922,-0.010647470131516,-0.027587475255132,-0.003668039804325,-0.106911465525627,-0.210016697645187,-0.073567122220993,-0.042871385812759,0.165831729769707,0.104650415480137,0.080959245562553) * FEATURE3_texOff(vec2(1,0));
res += mat4(0.079347975552082,-0.113178059458733,-0.081547051668167,0.023882076144218,-0.082543484866619,0.088393777608871,-0.053261257708073,-0.051578983664513,0.081314332783222,0.206114977598190,0.048041734844446,0.252468049526215,-0.082294970750809,-0.076844759285450,-0.066931925714016,0.198394924402237) * FEATURE3_texOff(vec2(1,1));
res += mat4(-0.082716740667820,-0.058756507933140,-0.056567091494799,0.127528786659241,-0.026540219783783,0.048573903739452,-0.228097647428513,-0.055777534842491,0.036746837198734,0.104230016469955,-0.226129725575447,0.014630905352533,-0.005889750551432,0.005574746057391,0.100988201797009,-0.000501342292409) * FEATURE4_texOff(vec2(-1,-1));
res += mat4(0.195720747113228,-0.110893659293652,0.113736875355244,-0.000696381612215,0.079236187040806,0.174842730164528,-0.003351952182129,0.069743379950523,0.078559987246990,0.035575341433287,0.086931593716145,0.034421242773533,-0.082416996359825,-0.124629542231560,-0.019708238542080,-0.037764877080917) * FEATURE4_texOff(vec2(-1,0));
res += mat4(-0.126614645123482,-0.068696357309818,-0.114373199641705,0.008897983469069,-0.085012204945087,-0.100423447787762,-0.006539318710566,-0.001462582265958,-0.126154527068138,0.076417744159698,0.082176186144352,0.036472953855991,0.020997783169150,-0.019492374733090,-0.022576916962862,0.022009417414665) * FEATURE4_texOff(vec2(-1,1));
res += mat4(0.166990339756012,-0.037038493901491,-0.265570461750031,0.130276128649712,0.001501260208897,0.168394804000854,-0.157898455858231,-0.107315570116043,-0.066357366740704,0.012148844078183,0.195996537804604,0.015556123107672,0.016006678342819,0.036936871707439,-0.143713057041168,-0.065626375377178) * FEATURE4_texOff(vec2(0,-1));
res += mat4(-0.093999437987804,0.001249846885912,0.223013073205948,0.031901974231005,0.122799709439278,0.145392552018166,0.176875814795494,0.032279465347528,-0.111953563988209,-0.135473012924194,-0.010638955980539,-0.116413749754429,0.176044628024101,-0.057644851505756,-0.020966673269868,0.054087132215500) * FEATURE4_texOff(vec2(0,0));
res += mat4(-0.030251180753112,0.067622274160385,0.103744789958000,-0.127800360321999,-0.110671401023865,0.116255253553391,0.102714128792286,-0.013444134034216,0.062593214213848,-0.109892845153809,-0.061258077621460,0.014521196484566,-0.069031953811646,-0.064920037984848,0.010795543901622,0.063265524804592) * FEATURE4_texOff(vec2(0,1));
res += mat4(0.074682831764221,-0.136862233281136,0.095631688833237,0.086189568042755,-0.031690064817667,0.084548413753510,-0.135170876979828,0.070997565984726,0.029348770156503,-0.038903899490833,0.049175057560205,-0.002149620791897,-0.047822061926126,0.136749505996704,-0.058589093387127,0.022231644019485) * FEATURE4_texOff(vec2(1,-1));
res += mat4(0.012930938974023,-0.061962127685547,-0.138268604874611,-0.136519417166710,0.047683913260698,-0.178409859538078,0.104936987161636,0.108885392546654,0.036178909242153,0.111102923750877,-0.051311191171408,-0.041187692433596,0.038603626191616,0.081399530172348,0.001767082023434,0.029290046542883) * FEATURE4_texOff(vec2(1,0));
res += mat4(0.144365459680557,0.003735935082659,-0.007687955163419,0.033904366195202,0.048262096941471,0.038316305726767,-0.033498309552670,0.004537734668702,0.048030290752649,0.052819620817900,-0.050436489284039,-0.009931366890669,-0.085718005895615,0.076028779149055,0.051713086664677,0.129676371812820) * FEATURE4_texOff(vec2(1,1));
res += mat4(-0.032246325165033,-0.217202052474022,-0.032886616885662,-0.072647102177143,0.062860667705536,0.154701083898544,-0.008602637797594,0.032351441681385,-0.004784419201314,0.115442387759686,-0.085496068000793,-0.106662601232529,0.035038571804762,0.263942152261734,0.060586165636778,0.002202352974564) * FEATURE5_texOff(vec2(-1,-1));
res += mat4(0.118810862302780,-0.197158321738243,0.170987561345100,-0.038839362561703,0.028563994914293,-0.142690837383270,-0.021012056618929,-0.159985616803169,0.037421803921461,-0.146711423993111,0.113153681159019,-0.098563000559807,-0.096322983503342,0.189834430813789,0.135278463363647,0.087705358862877) * FEATURE5_texOff(vec2(-1,0));
res += mat4(-0.108863055706024,-0.202237874269485,-0.112221829593182,-0.064875505864620,0.055663235485554,-0.106582246720791,0.038573607802391,-0.061164177954197,0.005826767068356,-0.134960964322090,0.006406225264072,-0.161497950553894,-0.007555758114904,-0.051024019718170,-0.114056259393692,-0.082151144742966) * FEATURE5_texOff(vec2(-1,1));
res += mat4(-0.078737974166870,0.172138810157776,-0.366386502981186,-0.099616289138794,-0.109693430364132,-0.143602102994919,-0.176604568958282,-0.122906714677811,-0.012192846275866,0.166030272841454,-0.163309708237648,-0.188165903091431,-0.040221013128757,-0.191040635108948,0.044248092919588,-0.045584335923195) * FEATURE5_texOff(vec2(0,-1));
res += mat4(0.221873819828033,0.288003891706467,0.159681186079979,0.346520960330963,0.144989192485809,0.104803830385208,0.168976947665215,0.313531219959259,0.079799287021160,0.094663448631763,0.055829208344221,-0.034386120736599,0.023716198280454,-0.092416919767857,-0.057608798146248,-0.069028563797474) * FEATURE5_texOff(vec2(0,0));
res += mat4(-0.018353672698140,-0.026173224672675,0.072059512138367,-0.097712919116020,-0.077202096581459,0.030606547370553,-0.032517593353987,0.036272693425417,-0.097248442471027,0.130850419402122,-0.054080553352833,-0.134529486298561,-0.004442974459380,0.037297464907169,-0.005049366969615,-0.057441558688879) * FEATURE5_texOff(vec2(0,1));
res += mat4(-0.016000622883439,-0.173791959881783,0.048743218183517,0.043938785791397,0.024841859936714,-0.054498605430126,0.095121741294861,0.048449862748384,-0.065989479422569,-0.173937425017357,0.012778352946043,-0.041550714522600,0.069391302764416,-0.002411880064756,-0.071744635701180,-0.095263905823231) * FEATURE5_texOff(vec2(1,-1));
res += mat4(-0.118021711707115,-0.041467867791653,0.102905519306660,-0.230496540665627,-0.101969942450523,0.034495346248150,-0.072074241936207,-0.038890752941370,0.037558529525995,-0.080910474061966,0.108737014234066,-0.021362911909819,-0.063073441386223,-0.032172475010157,-0.044914200901985,0.055016931146383) * FEATURE5_texOff(vec2(1,0));
res += mat4(0.085376650094986,0.147276654839516,-0.082281127572060,-0.055311650037766,0.013126264326274,0.189693361520767,-0.062351439148188,0.010757947340608,0.014357664622366,0.031124781817198,0.024042591452599,0.079450249671936,0.143404334783554,-0.180809944868088,0.067938812077045,0.265062123537064) * FEATURE5_texOff(vec2(1,1));
res += mat4(0.042721956968307,-0.073466897010803,0.007825727574527,-0.115231908857822,-0.081152290105820,-0.070321820676327,-0.066925130784512,-0.034444361925125,0.046566013246775,-0.134755119681358,0.027312347665429,0.037452537566423,0.068044319748878,-0.065111868083477,0.211004167795181,0.014670724980533) * FEATURE6_texOff(vec2(-1,-1));
res += mat4(0.291374474763870,-0.139288797974586,0.132619872689247,-0.273011326789856,0.146352335810661,-0.109104789793491,0.025820316746831,-0.036960940808058,-0.054991237819195,-0.265130102634430,0.112769864499569,-0.025532104074955,-0.245026439428329,-0.069819562137127,-0.162373751401901,-0.109680548310280) * FEATURE6_texOff(vec2(-1,0));
res += mat4(-0.137949407100677,-0.239336505532265,0.122430108487606,0.070996522903442,-0.035608060657978,0.012099562212825,-0.026425970718265,0.027059393003583,-0.091052375733852,0.009200594387949,-0.110094487667084,0.144760563969612,0.378886908292770,-0.221819803118706,0.061344806104898,-0.131476163864136) * FEATURE6_texOff(vec2(-1,1));
res += mat4(-0.004488102626055,0.271150022745132,-0.127548158168793,-0.051109749823809,0.151466071605682,0.024334022775292,0.126925289630890,0.061933219432831,-0.062023054808378,0.062793679535389,-0.042016293853521,-0.009438532404602,-0.136793136596680,0.068740919232368,0.233312875032425,0.109317786991596) * FEATURE6_texOff(vec2(0,-1));
res += mat4(-0.018216526135802,0.099783100187778,0.128883898258209,-0.106757231056690,-0.097427815198898,-0.075954049825668,0.064837604761124,-0.043951369822025,0.015926357358694,0.010430889204144,-0.077148318290710,0.055306732654572,-0.310091108083725,0.005834761541337,-0.292125940322876,0.247141569852829) * FEATURE6_texOff(vec2(0,0));
res += mat4(-0.224534749984741,-0.141917794942856,0.016301101073623,-0.009068436920643,-0.019872261211276,0.047439947724342,-0.058063305914402,0.168874129652977,0.135861843824387,0.171270534396172,0.072103992104530,-0.084486968815327,0.374854087829590,-0.084601074457169,0.073046281933784,0.096564434468746) * FEATURE6_texOff(vec2(0,1));
res += mat4(-0.140263915061951,-0.020705638453364,-0.194402471184731,0.121811874210835,-0.049900949001312,0.061372652649879,-0.145983457565308,-0.005731112789363,0.038206484168768,0.111335940659046,-0.069106280803680,-0.001883768942207,0.080681294202805,0.133285805583000,0.082621537148952,-0.191201552748680) * FEATURE6_texOff(vec2(1,-1));
res += mat4(0.397040158510208,0.010234203189611,0.141582280397415,-0.119603767991066,-0.059954512864351,0.021275321021676,-0.127089545130730,0.074198819696903,-0.035610131919384,0.103999964892864,0.140212640166283,0.035458408296108,-0.040778134018183,-0.108019337058067,-0.104139216244221,-0.042689260095358) * FEATURE6_texOff(vec2(1,0));
res += mat4(-0.155192375183105,0.144492909312248,-0.048485491424799,0.277780950069427,0.064450427889824,0.283341884613037,0.122462116181850,-0.006053498480469,0.003224187763408,-0.165953010320663,0.005456681828946,-0.065326862037182,0.149706915020943,-0.031252954155207,-0.084190629422665,-0.240530163049698) * FEATURE6_texOff(vec2(1,1));
res = max(res, vec4(0.0)) + vec4(0.102208487689495,0.003638812340796,0.077482961118221,0.092483542859554) * min(res, vec4(0.0));
return res;
}

//!HOOK LUMA
//!WHEN OUTPUT.w LUMA.w 2.200 * > OUTPUT.h LUMA.h 2.200 * > *
//!COMPONENTS 4
//!BIND FEATURE1
//!BIND FEATURE2
//!BIND FEATURE3
//!BIND FEATURE4
//!BIND FEATURE5
//!BIND FEATURE6
//!SAVE MODEL6
//!DESC [AiUpscale_HQ_Sharp_3x_LineArt] mapping 1_6

vec4 hook()
{
vec4 res = vec4(-0.017962418496609,0.056228484958410,-0.537475526332855,-0.442971736192703);
res += mat4(0.021596586331725,-0.019461672753096,0.033755756914616,0.057482678443193,-0.093722403049469,0.138713806867599,-0.197474598884583,0.009738730266690,-0.107512041926384,-0.155546799302101,-0.040697328746319,0.002567128976807,0.043686788529158,-0.145430609583855,-0.045725777745247,0.037690039724112) * FEATURE1_texOff(vec2(-1,-1));
res += mat4(-0.057393413037062,-0.013073713518679,-0.026190787553787,-0.057923845946789,0.076669789850712,-0.041125580668449,0.057856891304255,0.151001229882240,-0.020741876214743,0.222311675548553,0.000772341678385,0.058890093117952,0.020367467775941,0.011748318560421,-0.114485256373882,0.047635104507208) * FEATURE1_texOff(vec2(-1,0));
res += mat4(0.009747039526701,-0.041191153228283,0.000174979330041,-0.107292100787163,-0.004839318338782,0.077076859772205,0.105200015008450,-0.083373568952084,0.087916195392609,-0.081179864704609,0.009222240187228,-0.064705401659012,0.085674025118351,0.063955694437027,-0.053709533065557,0.073905244469643) * FEATURE1_texOff(vec2(-1,1));
res += mat4(-0.068117678165436,0.074716411530972,0.005066515877843,0.028595775365829,-0.099923782050610,-0.004402707330883,-0.016275646165013,0.028167501091957,0.036111041903496,-0.039517223834991,0.079325333237648,0.036811642348766,0.048320326954126,-0.062521286308765,0.092001907527447,0.110327251255512) * FEATURE1_texOff(vec2(0,-1));
res += mat4(-0.033653590828180,-0.029749661684036,-0.058578912168741,-0.046508904546499,-0.066063284873962,0.033653572201729,0.226987883448601,0.281173110008240,0.031149689108133,-0.021466584876180,0.050781838595867,-0.036826703697443,0.070063814520836,-0.024340733885765,-0.149633318185806,-0.189871132373810) * FEATURE1_texOff(vec2(0,0));
res += mat4(0.040845837444067,0.072508357465267,-0.005963856820017,0.032210413366556,-0.006588147487491,-0.082588665187359,0.094422578811646,0.015030945651233,0.044548802077770,-0.015334727242589,0.024279713630676,-0.025114523246884,-0.007090013008565,-0.113922521471977,-0.207000464200974,0.083727501332760) * FEATURE1_texOff(vec2(0,1));
res += mat4(-0.012258343398571,-0.050120230764151,-0.063748158514500,0.018451672047377,0.020157596096396,-0.020650399848819,-0.215990260243416,0.051495186984539,0.017658943310380,0.046914272010326,0.001590151572600,0.032637123018503,0.096881657838821,0.242883071303368,0.032508656382561,-0.012091255746782) * FEATURE1_texOff(vec2(1,-1));
res += mat4(0.113789416849613,0.040553953498602,0.070734404027462,0.033359453082085,-0.123816981911659,-0.053226191550493,-0.012203854508698,0.140209376811981,-0.001610483624972,0.034468986093998,-0.032315835356712,0.020726254209876,-0.042195472866297,-0.033209346234798,0.004647637717426,-0.043054055422544) * FEATURE1_texOff(vec2(1,0));
res += mat4(-0.028686057776213,-0.070401586592197,0.017692225053906,-0.037992395460606,0.077622652053833,0.014973562210798,-0.056999772787094,0.055167131125927,0.039381660521030,-0.039160978049040,0.009755405597389,-0.049367249011993,0.058082323521376,-0.100108094513416,-0.048136208206415,0.053156223148108) * FEATURE1_texOff(vec2(1,1));
res += mat4(0.172266319394112,0.084008187055588,0.097264058887959,0.064218521118164,-0.051820747554302,-0.053624194115400,-0.018167026340961,-0.013993337750435,0.002638065721840,0.203393712639809,-0.058604601770639,-0.008285190910101,-0.146461039781570,-0.032378885895014,-0.105433650314808,0.025636108592153) * FEATURE2_texOff(vec2(-1,-1));
res += mat4(-0.053945314139128,-0.056595120579004,-0.073230601847172,-0.016105676069856,0.015607926994562,0.200535029172897,0.077597819268703,0.069753035902977,-0.076607868075371,-0.234964624047279,-0.029022606089711,-0.198864102363586,-0.049881510436535,0.040387578308582,0.043722175061703,-0.013284702785313) * FEATURE2_texOff(vec2(-1,0));
res += mat4(-0.069459445774555,0.040099158883095,-0.000112475529022,0.074413970112801,0.043757837265730,-0.001846302417107,-0.055418536067009,0.070401191711426,-0.059540994465351,0.027201335877180,-0.022149138152599,0.024141689762473,0.056590467691422,-0.112276487052441,0.061422724276781,-0.021743113175035) * FEATURE2_texOff(vec2(-1,1));
res += mat4(0.064809359610081,-0.031056949868798,-0.050824206322432,-0.151600241661072,0.115384310483932,0.043351594358683,0.052412632852793,-0.029814686626196,-0.005406444892287,0.147260859608650,-0.168105542659760,-0.123976834118366,-0.083426907658577,0.031164444983006,0.019741745665669,-0.066984191536903) * FEATURE2_texOff(vec2(0,-1));
res += mat4(-0.142439082264900,0.106601975858212,0.098265126347542,0.104438364505768,0.094880603253841,0.012778804637492,-0.206621751189232,-0.023696033284068,-0.150498360395432,0.102040491998196,0.434156686067581,0.333814144134521,-0.056196518242359,0.030576184391975,0.065191209316254,0.154152423143387) * FEATURE2_texOff(vec2(0,0));
res += mat4(0.111908920109272,-0.218864589929581,-0.072391621768475,-0.099589690566063,0.089004732668400,-0.050537936389446,0.039357960224152,-0.107797555625439,0.044103022664785,-0.188540279865265,0.021272659301758,-0.071405664086342,0.168022245168686,0.005189851392061,-0.001864158431999,-0.101515173912048) * FEATURE2_texOff(vec2(0,1));
res += mat4(-0.087698236107826,0.029362620785832,0.007332156412303,-0.015400306321681,0.035699810832739,0.034250531345606,-0.050000775605440,0.111249327659607,-0.036752477288246,-0.082005433738232,-0.049080867320299,-0.070303618907928,0.059342116117477,-0.128592684864998,0.168290570378304,0.069238223135471) * FEATURE2_texOff(vec2(1,-1));
res += mat4(0.010440270416439,0.002269640564919,0.029601391404867,0.039554670453072,-0.039809226989746,-0.143611222505569,-0.054879046976566,-0.054976589977741,-0.046712990850210,0.027609819546342,-0.142635524272919,0.036265570670366,0.178034096956253,0.002039122162387,-0.152629747986794,-0.091420978307724) * FEATURE2_texOff(vec2(1,0));
res += mat4(-0.014303626492620,0.061383534222841,0.012749241665006,-0.005137635860592,0.015623576007783,0.015621145255864,0.095854640007019,-0.087228141725063,0.177234977483749,-0.017610877752304,0.110219486057758,-0.051744505763054,0.141510799527168,0.023166617378592,0.059638500213623,-0.072332382202148) * FEATURE2_texOff(vec2(1,1));
res += mat4(0.023009996861219,0.239064678549767,-0.148023739457130,0.015919277444482,0.024409024044871,-0.159415468573570,0.022521745413542,-0.022760255262256,0.058250997215509,0.019847508519888,0.002357376972213,0.036745820194483,-0.032515421509743,0.126299768686295,-0.048750195652246,0.041454888880253) * FEATURE3_texOff(vec2(-1,-1));
res += mat4(-0.020375994965434,-0.110769681632519,0.143534079194069,0.036154519766569,-0.077912077307701,0.026573095470667,-0.013401020318270,0.077033787965775,-0.029212825000286,0.113024659454823,-0.027336129918694,0.012528818100691,0.071072064340115,0.053818434476852,0.096093378961086,-0.045300550758839) * FEATURE3_texOff(vec2(-1,0));
res += mat4(0.035883013159037,0.048155739903450,-0.002283584326506,-0.056190688163042,0.066421158611774,0.054128505289555,0.027894467115402,0.025302330031991,0.027161737903953,-0.178037866950035,0.071063466370106,0.005088486708701,0.029433639720082,-0.021490110084414,-0.086087599396706,-0.072902068495750) * FEATURE3_texOff(vec2(-1,1));
res += mat4(-0.043964594602585,-0.036775596439838,-0.156861037015915,-0.078034788370132,-0.015073547139764,0.071395121514797,0.082146994769573,0.075150489807129,-0.031354870647192,0.034773182123899,-0.104041993618011,-0.051342125982046,0.029220186173916,-0.081309273838997,-0.009880266152322,0.030929541215301) * FEATURE3_texOff(vec2(0,-1));
res += mat4(-0.070295311510563,0.156254932284355,0.056261546909809,0.160265550017357,0.035709168761969,0.007667753379792,-0.057068485766649,-0.051694400608540,-0.062543019652367,-0.016319178044796,0.167074173688889,0.084162160754204,0.151136606931686,-0.100923657417297,-0.114457741379738,-0.109238766133785) * FEATURE3_texOff(vec2(0,0));
res += mat4(0.114083118736744,-0.086031317710876,0.171113580465317,-0.021303191781044,-0.020234446972609,-0.016765965148807,0.070110648870468,-0.053251098841429,0.058854151517153,0.027203759178519,-0.085528962314129,-0.030069909989834,-0.103305093944073,-0.002592744771391,0.006301198154688,0.141676887869835) * FEATURE3_texOff(vec2(0,1));
res += mat4(-0.003784546162933,0.101303748786449,-0.057028915733099,-0.054325342178345,0.022729292511940,-0.034904688596725,-0.109640091657639,-0.093594662845135,0.027435356751084,-0.060745418071747,0.027029570192099,-0.067122548818588,-0.020700670778751,0.120171397924423,0.013908794149756,-0.157682880759239) * FEATURE3_texOff(vec2(1,-1));
res += mat4(0.067715033888817,-0.100608840584755,-0.012092673219740,-0.104304090142250,0.008111539296806,0.012485587038100,-0.017071587964892,0.039898440241814,-0.008619276806712,0.037702873349190,0.080040276050568,0.041505396366119,-0.063693515956402,-0.169457003474236,0.128255620598793,0.059772446751595) * FEATURE3_texOff(vec2(1,0));
res += mat4(0.097463563084602,0.001773062977009,-0.136982575058937,-0.050293743610382,-0.032778445631266,0.056010268628597,-0.027751902118325,-0.021972803398967,-0.050648279488087,0.040643673390150,-0.036049641668797,-0.012103727087379,0.031087318435311,0.078469716012478,-0.023577518761158,-0.008524561300874) * FEATURE3_texOff(vec2(1,1));
res += mat4(0.036122042685747,0.077916413545609,0.001559757045470,-0.002806337783113,0.075414150953293,0.057907279580832,0.041007313877344,-0.055203560739756,-0.099724970757961,-0.127730280160904,-0.092349618673325,0.004884995054454,0.196015790104866,-0.018760079517961,0.134521588683128,-0.003056652378291) * FEATURE4_texOff(vec2(-1,-1));
res += mat4(0.043342575430870,-0.142405033111572,0.091598629951477,-0.183261588215828,-0.144112303853035,-0.173022702336311,0.076235845685005,-0.112636692821980,-0.020843053236604,0.089081056416035,-0.018351139500737,0.071487747132778,-0.016316959634423,-0.096364267170429,-0.063346527516842,-0.028990797698498) * FEATURE4_texOff(vec2(-1,0));
res += mat4(-0.169597759842873,0.008833480998874,-0.045922145247459,0.010098862461746,0.002475008834153,0.034549895673990,0.001680238172412,-0.069338537752628,0.102944940328598,0.097525916993618,-0.021766168996692,0.051773138344288,-0.108378157019615,0.067779235541821,-0.030383970588446,0.067715145647526) * FEATURE4_texOff(vec2(-1,1));
res += mat4(-0.114299178123474,-0.142781451344490,0.195587083697319,0.125448539853096,-0.048279292881489,-0.018232090398669,0.002068012487143,0.006964226253331,-0.055483084172010,-0.022184755653143,0.053976487368345,0.000709371466655,0.065487958490849,0.106957338750362,-0.090168721973896,0.027104904875159) * FEATURE4_texOff(vec2(0,-1));
res += mat4(-0.072414234280586,0.093330256640911,0.209234774112701,0.363714963197708,-0.194075733423233,0.105836175382137,0.239700436592102,0.049734298139811,0.149362474679947,-0.008766693994403,0.005203333683312,-0.130161792039871,-0.037643443793058,0.003949344158173,0.093100793659687,0.013193728402257) * FEATURE4_texOff(vec2(0,0));
res += mat4(-0.040906287729740,-0.144920900464058,0.088860817253590,0.026566244661808,0.059801589697599,0.000462368596345,0.142734125256538,0.034070823341608,0.022475285455585,0.026497371494770,-0.015866478905082,0.062940560281277,0.011115517467260,-0.057486865669489,-0.006222566589713,0.016416396945715) * FEATURE4_texOff(vec2(0,1));
res += mat4(0.074249267578125,0.072977967560291,0.104148305952549,0.068804591894150,0.015676274895668,0.022252164781094,-0.133312195539474,-0.056271333247423,0.089309379458427,-0.092323482036591,0.055513184517622,0.019301719963551,-0.156385958194733,0.028036052361131,-0.050528306514025,-0.094317346811295) * FEATURE4_texOff(vec2(1,-1));
res += mat4(0.177120804786682,-0.205552116036415,-0.138897523283958,-0.090378664433956,-0.074574455618858,-0.042021743953228,0.063758112490177,0.095955580472946,-0.027241846546531,-0.031028270721436,0.051723446696997,-0.053871493786573,-0.124872386455536,0.000814113533124,-0.003176533384249,-0.009593257680535) * FEATURE4_texOff(vec2(1,0));
res += mat4(0.058632347732782,0.097178980708122,-0.143111482262611,-0.015803758054972,-0.107409521937370,-0.053966600447893,-0.134632200002670,-0.017046803608537,-0.123012788593769,0.033495441079140,-0.033237669616938,-0.079099595546722,0.092552147805691,-0.008236558176577,0.043520484119654,0.057386882603168) * FEATURE4_texOff(vec2(1,1));
res += mat4(0.016335323452950,0.097089730203152,0.021104684099555,-0.015643224120140,-0.076577469706535,0.183114796876907,0.114153817296028,0.001134681166150,0.065893568098545,0.051627613604069,0.019308812916279,-0.007874936796725,0.047764804214239,0.184498548507690,-0.052465964108706,0.090996056795120) * FEATURE5_texOff(vec2(-1,-1));
res += mat4(-0.008529226295650,-0.214354574680328,-0.058755904436111,-0.052037056535482,0.086491100490093,-0.123264819383621,-0.013886333443224,-0.120123527944088,0.045201901346445,0.056388191878796,0.068189673125744,0.037571061402559,0.126475870609283,0.091791115701199,0.086972720921040,0.033787555992603) * FEATURE5_texOff(vec2(-1,0));
res += mat4(-0.153178855776787,0.027908142656088,-0.018885226920247,0.017135158181190,-0.108574748039246,-0.061073269695044,0.018044598400593,0.091008104383945,0.038575295358896,0.073245353996754,0.070916667580605,0.085731759667397,-0.026198482140899,0.009486585855484,0.037401828914881,-0.060804147273302) * FEATURE5_texOff(vec2(-1,1));
res += mat4(0.039616726338863,0.014984144829214,-0.089119084179401,-0.133773118257523,0.106035493314266,-0.099582850933075,-0.113769553601742,-0.069059826433659,-0.065040431916714,0.014111875556409,-0.077376641333103,-0.029180925339460,-0.014845116063952,-0.045668505132198,0.019958266988397,-0.003490744158626) * FEATURE5_texOff(vec2(0,-1));
res += mat4(-0.050864949822426,0.123581074178219,0.289726018905640,0.394190192222595,-0.074980355799198,0.010815020650625,0.099111951887608,0.095658622682095,-0.029594283550978,-0.066588155925274,0.003617985872552,-0.033028665930033,0.132126063108444,-0.170613825321198,-0.154181838035583,-0.120026364922523) * FEATURE5_texOff(vec2(0,0));
res += mat4(-0.130325675010681,0.060673162341118,0.130844280123711,-0.013952200300992,-0.154655158519745,0.050433367490768,0.019216027110815,-0.051256157457829,0.025326758623123,0.053326405584812,0.080372951924801,-0.019522462040186,-0.011722756549716,0.050803370773792,-0.049801845103502,-0.043318890035152) * FEATURE5_texOff(vec2(0,1));
res += mat4(0.002878542058170,-0.063228040933609,0.105055034160614,-0.140519127249718,-0.085079878568649,-0.025804955512285,-0.014916209504008,0.130714625120163,-0.004339994862676,-0.109073899686337,-0.014960562810302,0.040989037603140,-0.001457390724681,0.031622666865587,-0.048017766326666,-0.054245132952929) * FEATURE5_texOff(vec2(1,-1));
res += mat4(0.026368053629994,-0.047534752637148,-0.225971952080727,-0.082376912236214,0.004779398441315,-0.058783672749996,-0.011210102587938,-0.032056059688330,0.007710988167673,-0.025805514305830,-0.004069556016475,-0.116806581616402,0.020772937685251,-0.089208140969276,0.115671508014202,0.123258486390114) * FEATURE5_texOff(vec2(1,0));
res += mat4(0.111608184874058,0.042940333485603,-0.040953963994980,0.047821819782257,0.145208522677422,0.164077147841454,-0.062070295214653,0.070766091346741,0.047623895108700,0.013631876558065,-0.137410312891006,-0.091953083872795,-0.278065174818039,0.034419260919094,0.018802473321557,0.085568949580193) * FEATURE5_texOff(vec2(1,1));
res += mat4(0.059767618775368,-0.085021547973156,0.099623054265976,-0.067910440266132,0.010082866065204,0.054638803005219,-0.047677885740995,-0.069177746772766,-0.019534023478627,-0.114340573549271,0.011313703842461,-0.001233326620422,0.039291236549616,-0.107169806957245,-0.025401318445802,0.093822792172432) * FEATURE6_texOff(vec2(-1,-1));
res += mat4(0.140657454729080,-0.175168290734291,-0.068305552005768,-0.151536762714386,-0.078687369823456,-0.003284657374024,-0.017596447840333,0.076576434075832,0.075375206768513,0.072513274848461,-0.017955819144845,0.025666479021311,0.069832704961300,0.048090152442455,-0.288966000080109,-0.177891194820404) * FEATURE6_texOff(vec2(-1,0));
res += mat4(0.020945135504007,-0.003291646717116,0.026978235691786,-0.036559432744980,0.014315673150122,0.081401266157627,-0.080268375575542,-0.005239635705948,-0.052426032721996,-0.022092761471868,-0.029291730374098,-0.036905366927385,-0.094190627336502,0.055144950747490,-0.115344718098640,-0.056618656963110) * FEATURE6_texOff(vec2(-1,1));
res += mat4(0.042794406414032,0.019238350912929,0.237029388546944,0.175578743219376,-0.009285499341786,-0.050770487636328,-0.019486108794808,-0.035573270171881,0.024029044434428,0.159341588616371,0.014713306911290,0.049171410501003,0.101054087281227,-0.131971180438995,-0.015848945826292,-0.143221914768219) * FEATURE6_texOff(vec2(0,-1));
res += mat4(-0.079232074320316,0.083954818546772,0.229406312108040,0.262080043554306,0.054881416261196,0.170312255620956,0.155013442039490,0.110211312770844,-0.008831786923110,-0.046007119119167,-0.128097176551819,-0.085636228322983,0.138981625437737,0.014529637061059,-0.209819793701172,-0.242424681782722) * FEATURE6_texOff(vec2(0,0));
res += mat4(0.037607725709677,-0.034319266676903,0.122578345239162,-0.067597441375256,0.032583504915237,-0.115087196230888,-0.057680781930685,-0.028530567884445,-0.084246665239334,0.008570576086640,0.073954798281193,0.079963050782681,-0.170681327581406,0.007045069709420,0.087881505489349,0.194323509931564) * FEATURE6_texOff(vec2(0,1));
res += mat4(0.014595848508179,0.037959568202496,0.101646833121777,-0.001580465934239,0.043257813900709,-0.015456054359674,0.010936210863292,-0.043084628880024,-0.005103680305183,-0.057624455541372,-0.044909045100212,-0.073876291513443,0.013939737342298,0.063678152859211,-0.039229676127434,0.035290118306875) * FEATURE6_texOff(vec2(1,-1));
res += mat4(0.087408676743507,0.002387185813859,-0.075486719608307,0.020695658400655,0.024841314181685,-0.046674843877554,-0.034559246152639,-0.105325385928154,-0.083129368722439,-0.026360992342234,0.127670645713806,0.043035522103310,-0.116224490106106,-0.184648185968399,-0.045941848307848,-0.128760635852814) * FEATURE6_texOff(vec2(1,0));
res += mat4(0.128512486815453,0.004445566330105,0.126869410276413,-0.076845116913319,0.013795069418848,0.004721190780401,0.106954276561737,-0.003027532715350,0.126563310623169,0.025810929015279,-0.049736417829990,-0.036785308271646,-0.180766120553017,0.075613759458065,-0.117233939468861,0.003031752770767) * FEATURE6_texOff(vec2(1,1));
res = max(res, vec4(0.0)) + vec4(-0.072807982563972,-0.055095296353102,0.123846732079983,-0.032338213175535) * min(res, vec4(0.0));
return res;
}

//!HOOK LUMA
//!WHEN OUTPUT.w LUMA.w 2.200 * > OUTPUT.h LUMA.h 2.200 * > *
//!COMPONENTS 4
//!BIND MODEL1
//!BIND MODEL2
//!BIND MODEL3
//!BIND MODEL4
//!BIND MODEL5
//!BIND MODEL6
//!SAVE MODEL7
//!DESC [AiUpscale_HQ_Sharp_3x_LineArt] mapping 2_1

vec4 hook()
{
vec4 res = vec4(0.004222229123116,0.198360174894333,0.246583908796310,0.278463095426559);
res += mat4(-0.199992567300797,0.030405024066567,0.003156080609187,-0.162878647446632,-0.204516872763634,0.058302551507950,-0.016755891963840,-0.012696099467576,0.011220460757613,-0.085016489028931,-0.019124450162053,0.017825674265623,-0.019084088504314,0.032829213887453,-0.135972335934639,0.090287886559963) * MODEL1_texOff(vec2(-1,-1));
res += mat4(0.237674251198769,0.072505556046963,0.392741858959198,0.167226791381836,-0.063744455575943,0.125750467181206,0.043779730796814,0.018262010067701,0.014872866682708,0.007577742915601,-0.058305531740189,-0.019561531022191,0.147168040275574,-0.073095805943012,-0.212627634406090,-0.181105300784111) * MODEL1_texOff(vec2(-1,0));
res += mat4(-0.261583834886551,0.223769560456276,-0.042152728885412,-0.126062884926796,-0.158205226063728,-0.156233504414558,0.072993509471416,0.079749159514904,-0.010115758515894,0.198037818074226,-0.049539197236300,0.019099224358797,0.064493186771870,-0.458422929048538,0.053764201700687,-0.068114489316940) * MODEL1_texOff(vec2(-1,1));
res += mat4(-0.169017568230629,0.011822405271232,0.005660836584866,-0.083239950239658,-0.037428818643093,-0.191742867231369,-0.062178689986467,0.020295536145568,-0.059660274535418,-0.033720053732395,0.045940659940243,-0.057907510548830,0.046238757669926,-0.003492170944810,-0.031371582299471,-0.093896195292473) * MODEL1_texOff(vec2(0,-1));
res += mat4(0.303195893764496,-0.062252204865217,-0.139371082186699,-0.017627008259296,-0.056949689984322,-0.019367340952158,-0.267498493194580,-0.211125776171684,0.157234206795692,-0.311144024133682,-0.055203936994076,0.093396365642548,-0.067538768053055,-0.014367478899658,0.042927969247103,-0.534232020378113) * MODEL1_texOff(vec2(0,0));
res += mat4(-0.119509816169739,-0.038759391754866,0.103561282157898,0.024583470076323,0.200228556990623,-0.212714269757271,-0.189180880784988,-0.066340222954750,-0.052833087742329,0.127644836902618,0.037959180772305,0.094619512557983,-0.066973693668842,0.078249230980873,0.081343807280064,-0.115531481802464) * MODEL1_texOff(vec2(0,1));
res += mat4(-0.186096966266632,0.065795175731182,-0.024158056825399,0.055564295500517,-0.131041765213013,0.015058068558574,0.063032135367393,0.058994241058826,-0.092509888112545,0.018535243347287,0.017542971298099,-0.113754540681839,0.040010362863541,-0.005504659842700,-0.043183479458094,-0.010067167691886) * MODEL1_texOff(vec2(1,-1));
res += mat4(0.151200339198112,-0.250412940979004,-0.118969589471817,0.013508079573512,-0.290459930896759,0.022933764383197,-0.074652098119259,-0.029669335111976,-0.004312765318900,0.038359694182873,-0.050777081400156,-0.071251302957535,-0.026712367311120,-0.016319388523698,0.094677321612835,-0.106119424104691) * MODEL1_texOff(vec2(1,0));
res += mat4(-0.198160171508789,0.021088331937790,0.057845376431942,0.000341736536939,0.036604970693588,-0.109648525714874,-0.148250579833984,-0.004791303537786,0.213932365179062,-0.114961653947830,0.054293818771839,-0.189219683408737,0.199490487575531,0.033886417746544,0.001338365837000,-0.043292094022036) * MODEL1_texOff(vec2(1,1));
res += mat4(0.157361447811127,-0.051275171339512,0.033140067011118,-0.018772473558784,-0.068573363125324,-0.135616719722748,-0.067351877689362,-0.035513713955879,0.235795721411705,0.151496827602386,-0.005984844639897,0.069267481565475,-0.066767089068890,-0.114230699837208,-0.022248568013310,-0.008561753667891) * MODEL2_texOff(vec2(-1,-1));
res += mat4(-0.051370289176702,0.060147766023874,-0.019181756302714,0.074557408690453,0.230583682656288,0.025588339194655,0.059988666325808,0.048421267420053,-0.235454723238945,-0.027799431234598,0.041002541780472,0.036665402352810,-0.182977065443993,-0.048362724483013,-0.107724703848362,0.015925265848637) * MODEL2_texOff(vec2(-1,0));
res += mat4(0.081747695803642,0.081963084638119,0.118373721837997,0.020960681140423,-0.000879508676007,0.101681090891361,-0.146144911646843,0.083186946809292,-0.110371023416519,0.066659331321716,0.008106221444905,0.131416186690331,0.174683853983879,-0.065463677048683,0.029626468196511,-0.055433969944715) * MODEL2_texOff(vec2(-1,1));
res += mat4(0.070658735930920,-0.011528527364135,0.045242544263601,-0.014375017024577,0.193211883306503,-0.083878539502621,0.185770913958549,-0.024708943441510,0.075096629559994,0.031540829688311,-0.062335606664419,0.105481639504433,0.043460190296173,0.124208889901638,0.100479990243912,0.196599647402763) * MODEL2_texOff(vec2(0,-1));
res += mat4(0.170784980058670,-0.107888177037239,-0.013865658082068,0.035384882241488,-0.020819207653403,-0.065132357180119,-0.259768992662430,-0.036496866494417,0.100960209965706,0.167103424668312,-0.137805730104446,-0.118879280984402,-0.042955391108990,0.047083269804716,0.114878468215466,-0.026544136926532) * MODEL2_texOff(vec2(0,0));
res += mat4(0.030381679534912,-0.360435366630554,0.049301538616419,-0.077554419636726,-0.095579870045185,0.168120741844177,0.132374957203865,0.114743687212467,-0.100241772830486,-0.159497588872910,0.035354465246201,-0.151471480727196,-0.138916015625000,0.052435565739870,-0.039272502064705,0.054418653249741) * MODEL2_texOff(vec2(0,1));
res += mat4(0.063314385712147,0.082314901053905,0.058753121644258,-0.201674714684486,0.203875571489334,-0.065304413437843,0.056648753583431,-0.176447302103043,0.260895729064941,0.048875398933887,-0.017907159402966,-0.069717139005661,-0.145761370658875,-0.122026570141315,0.046053893864155,0.068131580948830) * MODEL2_texOff(vec2(1,-1));
res += mat4(-0.139288768172264,-0.055051065981388,-0.074488915503025,0.019050946459174,-0.122737891972065,-0.026826839894056,-0.063202768564224,-0.060293339192867,-0.264783561229706,0.026057651266456,0.150839999318123,0.026188148185611,0.127750501036644,-0.060656208544970,-0.029004123061895,-0.132444337010384) * MODEL2_texOff(vec2(1,0));
res += mat4(-0.366839051246643,0.085651405155659,-0.196413561701775,0.082215674221516,-0.115801349282265,-0.104906246066093,-0.099732562899590,0.169602185487747,-0.008399063721299,0.153754264116287,-0.031812313944101,-0.077522329986095,-0.000027563495678,-0.119475565850735,-0.097381696105003,0.042128149420023) * MODEL2_texOff(vec2(1,1));
res += mat4(-0.062081139534712,0.147384360432625,0.123150914907455,0.038447503000498,-0.109351426362991,-0.042517963796854,-0.047112930566072,-0.045282837003469,0.011518978513777,-0.027728796005249,-0.027172189205885,0.005056363530457,-0.184701487421989,0.072745174169540,0.028383845463395,-0.127168178558350) * MODEL3_texOff(vec2(-1,-1));
res += mat4(0.142307102680206,-0.177138432860374,0.103439047932625,0.128594547510147,0.069193817675114,0.035386197268963,-0.074568346142769,0.067235060036182,0.084033027291298,-0.140712514519691,0.014679137617350,-0.014345712028444,-0.058568578213453,0.101158529520035,0.065936900675297,-0.140172094106674) * MODEL3_texOff(vec2(-1,0));
res += mat4(-0.201075956225395,-0.052904486656189,0.064254961907864,0.042071163654327,-0.060352817177773,0.075216583907604,-0.050333373248577,-0.033417910337448,0.155996546149254,0.115711852908134,-0.108844637870789,-0.011726758442819,-0.017833076417446,0.117183253169060,0.027633419260383,-0.124447025358677) * MODEL3_texOff(vec2(-1,1));
res += mat4(-0.192288577556610,-0.121955797076225,-0.057898767292500,-0.222595542669296,-0.012331690639257,-0.042708449065685,0.030209511518478,0.117879211902618,-0.020946830511093,0.164707019925117,0.045206971466541,-0.102433398365974,-0.042138062417507,-0.073133081197739,0.065023921430111,0.052904542535543) * MODEL3_texOff(vec2(0,-1));
res += mat4(-0.116981588304043,-0.130980700254440,-0.039648383855820,-0.012790934182703,0.025462258607149,-0.014146721921861,-0.008114232681692,-0.124814957380295,-0.011779579333961,0.274057447910309,0.032609540969133,0.008810495957732,0.077944003045559,0.212980315089226,0.060811538249254,0.154832094907761) * MODEL3_texOff(vec2(0,0));
res += mat4(-0.102095618844032,-0.086173512041569,0.158328428864479,-0.051128432154655,0.168126389384270,-0.110174275934696,-0.035446006804705,-0.066867724061012,-0.010544526390731,0.111875109374523,0.254162818193436,0.166616082191467,-0.214961290359497,-0.142809897661209,-0.103596486151218,-0.051584795117378) * MODEL3_texOff(vec2(0,1));
res += mat4(0.112704709172249,0.187969952821732,0.224234133958817,-0.164761528372765,-0.030885215848684,0.097481586039066,0.009829295799136,0.016975205391645,0.058231551200151,-0.229702115058899,-0.034977879375219,-0.009720539674163,0.031010333448648,0.011071071960032,-0.025232776999474,-0.030370887368917) * MODEL3_texOff(vec2(1,-1));
res += mat4(-0.321662336587906,0.083888687193394,-0.042734093964100,-0.133556976914406,0.014340449124575,0.052647490054369,0.028838275000453,0.056558769196272,-0.109921112656593,0.005843050777912,0.047032140195370,0.082851663231850,0.288516134023666,0.065795935690403,0.055550623685122,0.083322793245316) * MODEL3_texOff(vec2(1,0));
res += mat4(-0.068126641213894,0.050585012882948,-0.044764641672373,-0.064415819942951,0.063107453286648,0.003723877249286,0.028833501040936,0.028269110247493,-0.175872743129730,-0.169700160622597,-0.074783422052860,0.118813239037991,-0.390229076147079,0.024322297424078,0.074607089161873,0.080423846840858) * MODEL3_texOff(vec2(1,1));
res += mat4(-0.112043395638466,-0.008057508617640,-0.203232094645500,-0.027947910130024,0.177820384502411,-0.069607742130756,0.037447180598974,-0.014465418644249,0.057492818683386,-0.001621506991796,-0.102755077183247,0.023823281750083,0.046946767717600,0.050005830824375,0.124421909451485,-0.002219158224761) * MODEL4_texOff(vec2(-1,-1));
res += mat4(0.095251359045506,0.074770778417587,-0.106766656041145,0.024825826287270,0.055846951901913,0.145087182521820,-0.104319542646408,-0.079042091965675,-0.018149681389332,0.016641633585095,-0.054192122071981,-0.112387500703335,0.084565617144108,-0.089113429188728,0.098667457699776,0.010908351279795) * MODEL4_texOff(vec2(-1,0));
res += mat4(-0.090319439768791,-0.171316012740135,0.022806258872151,0.099404618144035,-0.079437851905823,0.139311358332634,-0.043473795056343,0.010396023280919,0.008366893045604,0.138252258300781,0.137035146355629,0.060836527496576,-0.003164320951328,0.166853576898575,-0.030812660232186,0.076392807066441) * MODEL4_texOff(vec2(-1,1));
res += mat4(-0.138027876615524,-0.034082870930433,0.048510193824768,-0.101619400084019,-0.079491004347801,0.036307744681835,-0.095610961318016,0.054283939301968,0.047344882041216,0.019833469763398,0.001032439642586,0.041949030011892,0.088572993874550,-0.044412720948458,0.119726255536079,-0.122080892324448) * MODEL4_texOff(vec2(0,-1));
res += mat4(-0.126925319433212,0.003662869799882,0.216735094785690,-0.123131588101387,0.031271398067474,-0.056140076369047,0.022898592054844,0.078547827899456,0.035111736506224,0.045466247946024,0.064053237438202,-0.027631927281618,0.064241401851177,-0.297647178173065,-0.250844448804855,0.053828246891499) * MODEL4_texOff(vec2(0,0));
res += mat4(-0.252113789319992,0.014762508682907,-0.064077585935593,-0.052632089704275,-0.070710517466068,0.060225386172533,0.039824485778809,0.078317299485207,-0.072534650564194,-0.074595510959625,0.238805443048477,0.069289274513721,-0.110648676753044,-0.558731317520142,0.084737911820412,0.004418692085892) * MODEL4_texOff(vec2(0,1));
res += mat4(0.074923604726791,-0.222549498081207,-0.134708166122437,-0.072119601070881,-0.113962918519974,-0.172180369496346,0.008816849440336,0.030969124287367,0.093252480030060,-0.085185967385769,-0.092964470386505,-0.116257838904858,0.033967420458794,0.146790817379951,0.052702486515045,-0.275394737720490) * MODEL4_texOff(vec2(1,-1));
res += mat4(0.052603144198656,0.056152157485485,-0.185069397091866,0.176517248153687,-0.085142709314823,-0.184328347444534,-0.000091785266704,0.112372778356075,0.197299420833588,0.000386033789255,0.041438996791840,0.133337676525116,-0.321871340274811,0.221190854907036,0.028027987107635,-0.890281558036804) * MODEL4_texOff(vec2(1,0));
res += mat4(0.151661098003387,0.014015119522810,0.019994249567389,-0.084097273647785,-0.057521160691977,-0.264549314975739,0.001080163405277,0.044334162026644,0.001452377415262,0.001101040397771,0.172971695661545,0.059712894260883,-0.322429120540619,-0.017698809504509,-0.043087650090456,-0.104914620518684) * MODEL4_texOff(vec2(1,1));
res += mat4(0.054727967828512,-0.091332867741585,-0.128089621663094,-0.110548414289951,-0.042846277356148,0.229686796665192,-0.101882353425026,-0.023140775039792,-0.049769707024097,0.018000537529588,-0.003514290554449,0.047170881181955,-0.118177615106106,-0.058122623711824,-0.132140934467316,0.064974643290043) * MODEL5_texOff(vec2(-1,-1));
res += mat4(0.054256271570921,0.100066922605038,-0.036986470222473,0.081603609025478,0.207138180732727,-0.033806327730417,0.115852102637291,0.021345606073737,-0.116231143474579,0.091109760105610,0.079401932656765,0.044179819524288,0.057111557573080,-0.153651282191277,-0.120940774679184,0.072822071611881) * MODEL5_texOff(vec2(-1,0));
res += mat4(0.075188413262367,0.057047389447689,-0.027851937338710,-0.009724528528750,-0.003750818548724,-0.218780443072319,0.059872604906559,-0.147645339369774,0.056661065667868,-0.069610342383385,-0.142664000391960,0.022190351039171,-0.137419536709785,-0.114948056638241,-0.073464572429657,0.096500940620899) * MODEL5_texOff(vec2(-1,1));
res += mat4(-0.100409850478172,-0.050945140421391,-0.625510990619659,0.168626531958580,0.377417683601379,0.160440787672997,-0.121239088475704,0.018939105793834,0.049420874565840,-0.058050252497196,-0.062300570309162,-0.045115850865841,0.382032603025436,-0.066823281347752,-0.190604493021965,0.050950203090906) * MODEL5_texOff(vec2(0,-1));
res += mat4(-0.051833715289831,0.049879468977451,0.104559689760208,-0.064336672425270,0.081920094788074,-0.005035251844674,-0.042299255728722,-0.050186011940241,0.085647225379944,-0.161763995885849,0.029776014387608,-0.302950322628021,-0.013821884989738,0.026460941880941,0.015158210881054,-0.201114356517792) * MODEL5_texOff(vec2(0,0));
res += mat4(0.059142965823412,0.000415443704696,0.009999438188970,0.043292935937643,-0.135629087686539,-0.363783329725266,-0.040223337709904,-0.048817239701748,-0.048134103417397,-0.644466757774353,-0.787981033325195,-0.243433907628059,0.083611212670803,0.059729270637035,0.093393266201019,-0.080800585448742) * MODEL5_texOff(vec2(0,1));
res += mat4(-0.397419810295105,-0.102019980549812,-0.236605301499367,0.027615791186690,0.245696812868118,0.155143037438393,0.137144550681114,0.108408167958260,-0.193454101681709,0.092211998999119,0.038044702261686,0.018418144434690,-0.016244009137154,-0.034609105437994,0.000651865731925,-0.038110915571451) * MODEL5_texOff(vec2(1,-1));
res += mat4(0.253236263990402,-0.245448336005211,-0.227714300155640,0.050208237022161,0.005328149534762,0.040978092700243,0.097613297402859,-0.042070083320141,0.152237072587013,0.049817055463791,-0.110388547182083,0.116557635366917,0.118985719978809,-0.025464799255133,-0.007556170690805,0.018247622996569) * MODEL5_texOff(vec2(1,0));
res += mat4(-0.119112946093082,-0.086332008242607,-0.073712520301342,0.051371492445469,0.137667834758759,0.054424017667770,0.020149607211351,-0.086087256669998,-0.332042455673218,-0.171153843402863,-0.105767913162708,-0.049597404897213,-0.039154559373856,0.085015386343002,0.026217643171549,-0.085471674799919) * MODEL5_texOff(vec2(1,1));
res += mat4(-0.147445082664490,-0.097548514604568,-0.117070861160755,0.080209173262119,-0.046141654253006,-0.165544867515564,0.024220259860158,-0.060776516795158,0.005503286141902,0.181796759366989,-0.135641410946846,-0.062112312763929,0.153054565191269,-0.123073831200600,-0.068732358515263,0.005619158502668) * MODEL6_texOff(vec2(-1,-1));
res += mat4(0.051781777292490,-0.656599998474121,0.011266319081187,0.089802034199238,-0.138186156749725,-0.014812557958066,-0.061223048716784,-0.008149192668498,0.005382619798183,0.066459178924561,-0.149223834276199,-0.083757929503918,0.036175720393658,0.287752568721771,-0.093765884637833,-0.091034136712551) * MODEL6_texOff(vec2(-1,0));
res += mat4(0.181139275431633,0.163762852549553,-0.002918648533523,0.012827826663852,0.032604254782200,0.093249224126339,-0.098368108272552,0.081372603774071,-0.032206438481808,-0.257052242755890,0.086386352777481,0.012929796241224,-0.063372768461704,0.056396070867777,-0.041901580989361,-0.025995634496212) * MODEL6_texOff(vec2(-1,1));
res += mat4(0.108373492956161,-0.131897091865540,-0.007094252854586,0.100578740239143,-0.135540649294853,0.183453083038330,-0.066835746169090,-0.018050936982036,-0.165085792541504,0.005988693796098,0.023821406066418,0.106442414224148,0.102665074169636,0.074654467403889,0.027279116213322,-0.116774737834930) * MODEL6_texOff(vec2(0,-1));
res += mat4(-0.234702318906784,0.118101224303246,0.037246115505695,-0.289991348981857,0.126688733696938,-0.190163075923920,-0.121121667325497,0.057726219296455,-0.100002028048038,-0.074248567223549,0.010329406708479,-0.096909545361996,0.002270374214277,-0.008158868178725,0.226739287376404,0.089177489280701) * MODEL6_texOff(vec2(0,0));
res += mat4(0.089657187461853,0.134741812944412,0.212842211127281,-0.001889511477202,-0.245582580566406,0.113411359488964,-0.018431570380926,-0.178946211934090,0.003133816644549,-0.037210248410702,-0.166806876659393,-0.094146743416786,0.045315716415644,0.090427979826927,-0.092426091432571,-0.186836495995522) * MODEL6_texOff(vec2(0,1));
res += mat4(0.039606403559446,-0.025229895487428,0.066204331815243,-0.123700894415379,0.030221467837691,0.133300140500069,0.007898108102381,0.037440091371536,-0.086491681635380,0.059150833636522,0.072332151234150,0.060292325913906,-0.031498119235039,-0.013005377724767,-0.091127276420593,0.079573988914490) * MODEL6_texOff(vec2(1,-1));
res += mat4(-0.189479112625122,-0.046470262110233,-0.019172610715032,0.030136689543724,0.030007762834430,-0.107513234019279,-0.001467268215492,-0.071320965886116,-0.107032209634781,0.059852536767721,0.076022721827030,0.281278163194656,-0.067789092659950,-0.037956479936838,-0.067368596792221,0.126632183790207) * MODEL6_texOff(vec2(1,0));
res += mat4(0.125179141759872,-0.137623488903046,-0.025464087724686,0.021546512842178,-0.065607078373432,-0.227603316307068,0.100991055369377,-0.043013006448746,-0.056621465831995,-0.111545138061047,-0.175602450966835,-0.078285291790962,-0.324229329824448,-0.281702458858490,-0.016879877075553,0.085453860461712) * MODEL6_texOff(vec2(1,1));
res = max(res, vec4(0.0)) + vec4(0.100925125181675,0.007131263148040,0.192803397774696,0.092379592359066) * min(res, vec4(0.0));
return res;
}

//!HOOK LUMA
//!WHEN OUTPUT.w LUMA.w 2.200 * > OUTPUT.h LUMA.h 2.200 * > *
//!COMPONENTS 4
//!BIND MODEL1
//!BIND MODEL2
//!BIND MODEL3
//!BIND MODEL4
//!BIND MODEL5
//!BIND MODEL6
//!SAVE MODEL8
//!DESC [AiUpscale_HQ_Sharp_3x_LineArt] mapping 2_2

vec4 hook()
{
vec4 res = vec4(-0.022996317595243,0.195216134190559,-0.109466172754765,0.090551815927029);
res += mat4(0.093493126332760,-0.114594139158726,-0.012234715744853,0.015532504767179,-0.157686024904251,-0.011940983124077,-0.128138780593872,-0.037444353103638,0.012292529456317,0.043984651565552,-0.097043804824352,-0.042229883372784,0.189814820885658,-0.117383897304535,0.045035094022751,-0.130336210131645) * MODEL1_texOff(vec2(-1,-1));
res += mat4(-0.221674337983131,-0.226930499076843,-0.154640421271324,0.003776632715017,-0.085755310952663,0.070867210626602,0.045606441795826,0.010048151016235,-0.248778864741325,0.001099898596294,0.042847257107496,0.017766745761037,0.182918325066566,-0.008424982428551,-0.187053054571152,-0.244559481739998) * MODEL1_texOff(vec2(-1,0));
res += mat4(-0.364001959562302,0.151486977934837,0.131646096706390,0.337535768747330,0.090243406593800,0.010415006428957,-0.092422686517239,0.063002981245518,-0.012813672423363,0.074439376592636,-0.005530168768018,0.077950097620487,0.033012572675943,-0.008231579326093,-0.411598920822144,-0.138371571898460) * MODEL1_texOff(vec2(-1,1));
res += mat4(-0.091524101793766,-0.074295490980148,0.233136072754860,-0.218861505389214,-0.063175477087498,-0.094884149730206,0.187616944313049,-0.002552385209128,0.162056058645248,-0.058145329356194,0.169227167963982,0.004894157405943,0.161040768027306,-0.031392760574818,0.202288880944252,-0.027795927599072) * MODEL1_texOff(vec2(0,-1));
res += mat4(-0.564374387264252,0.347464382648468,0.097729049623013,0.074109584093094,-0.010153464041650,0.117027662694454,0.035741075873375,0.070953547954559,0.246317848563194,-0.158122703433037,-0.010408721864223,-0.590056777000427,0.189479455351830,-0.129597276449203,0.105558343231678,0.280104607343674) * MODEL1_texOff(vec2(0,0));
res += mat4(-0.027516566216946,0.004702398553491,-0.023344442248344,0.028553234413266,-0.216515094041824,-0.072783961892128,-0.199116021394730,-0.034841511398554,-0.028598058968782,-0.037692356854677,0.162574484944344,0.034931544214487,-0.052753884345293,0.085393764078617,-0.017916448414326,-0.067843727767467) * MODEL1_texOff(vec2(0,1));
res += mat4(0.140814870595932,-0.098578624427319,0.083305224776268,-0.109729930758476,-0.193012863397598,0.048175137490034,-0.001139233820140,-0.063328035175800,0.038678955286741,0.095065802335739,-0.071962490677834,0.143051519989967,0.041122768074274,0.005869339685887,0.079773277044296,-0.010788204148412) * MODEL1_texOff(vec2(1,-1));
res += mat4(0.386013448238373,-0.119735144078732,0.068793118000031,0.056712590157986,0.195737466216087,-0.127660036087036,0.108288794755936,0.110498778522015,0.164448603987694,-0.124144524335861,0.020579224452376,0.174847796559334,-0.067907191812992,0.078205212950706,0.006040358915925,0.023305784910917) * MODEL1_texOff(vec2(1,0));
res += mat4(0.115698866546154,0.126757860183716,0.137073472142220,0.138566493988037,0.034579854458570,-0.092901483178139,0.013220571912825,0.047926619648933,-0.001477636164054,-0.135310083627701,-0.015215144492686,-0.051565047353506,-0.029134042561054,-0.032650120556355,0.026970356702805,-0.071208812296391) * MODEL1_texOff(vec2(1,1));
res += mat4(0.126127719879150,0.052074044942856,-0.098364010453224,-0.040475655347109,0.138609707355499,-0.200372755527496,0.079755514860153,0.147619187831879,0.084753550589085,0.059908837080002,-0.183970212936401,-0.104734666645527,0.066725634038448,0.010648936033249,-0.108099319040775,0.017230881378055) * MODEL2_texOff(vec2(-1,-1));
res += mat4(0.013421751558781,0.023369411006570,-0.054876483976841,0.041154626756907,-0.022694593295455,-0.106786511838436,0.119205340743065,-0.037729810923338,0.052064802497625,-0.195752322673798,0.085696853697300,0.019693568348885,0.016172392293811,-0.116895966231823,-0.097987473011017,0.028579965233803) * MODEL2_texOff(vec2(-1,0));
res += mat4(0.053275484591722,0.054023198783398,0.082640439271927,-0.080311819911003,0.058691244572401,-0.063163213431835,-0.198898911476135,0.058654416352510,0.073015853762627,0.087675005197525,0.003579217707738,0.007601609919220,0.004361958708614,0.057650383561850,-0.078763045370579,-0.019656214863062) * MODEL2_texOff(vec2(-1,1));
res += mat4(0.083535343408585,0.039606150239706,0.029610844329000,-0.044824611395597,0.014942567795515,-0.198736056685448,-0.057152461260557,0.032692350447178,0.066025190055370,-0.238052979111671,0.132824689149857,0.162774533033371,0.045350059866905,0.092447102069855,-0.098416320979595,-0.098351642489433) * MODEL2_texOff(vec2(0,-1));
res += mat4(0.029401438310742,0.004385943990201,0.170719385147095,-0.010985045693815,-0.391149133443832,0.222651034593582,-0.073071882128716,-0.101298667490482,-0.073996536433697,0.247274488210678,0.038858592510223,-0.143925085663795,-0.069683179259300,-0.021994657814503,0.132357016205788,0.124275244772434) * MODEL2_texOff(vec2(0,0));
res += mat4(-0.249228969216347,0.210902631282806,0.134565278887749,0.060789890587330,0.121916182339191,-0.068812817335129,0.042422167956829,0.059857081621885,0.107275336980820,0.064151890575886,0.009283565916121,-0.037717361003160,-0.068901166319847,0.040707968175411,0.020486034452915,0.025811068713665) * MODEL2_texOff(vec2(0,1));
res += mat4(0.155263915657997,-0.052144002169371,0.173934578895569,-0.009194222278893,-0.190188154578209,-0.236955195665359,0.095572948455811,-0.084751568734646,-0.036159191280603,0.123543001711369,0.145806938409805,-0.087347239255905,0.086815752089024,-0.082757569849491,-0.261159867048264,-0.108332313597202) * MODEL2_texOff(vec2(1,-1));
res += mat4(-0.020372243598104,0.098512724041939,0.234579086303711,-0.252114564180374,0.158835679292679,-0.087170295417309,0.005043063778430,0.055387128144503,0.164817094802856,0.083669498562813,0.015833575278521,0.079439848661423,0.015060820616782,-0.184604242444038,-0.002925179200247,-0.057979486882687) * MODEL2_texOff(vec2(1,0));
res += mat4(-0.066252298653126,-0.052547376602888,0.241419658064842,-0.449707895517349,0.100780777633190,0.320508569478989,0.111787237226963,0.135040432214737,-0.098951280117035,-0.115318194031715,-0.009875603020191,-0.016704941168427,0.099956087768078,-0.103965066373348,-0.070355854928493,0.037017591297626) * MODEL2_texOff(vec2(1,1));
res += mat4(-0.181941032409668,0.260194629430771,0.032893415540457,-0.179648026823997,0.064469762146473,0.012452941387892,-0.132230013608932,-0.044952746480703,-0.056325681507587,-0.038700409233570,0.152182847261429,0.072056256234646,0.207951754331589,-0.103823915123940,0.169993549585342,-0.040882661938667) * MODEL3_texOff(vec2(-1,-1));
res += mat4(0.003058072878048,0.064508289098740,0.112257279455662,-0.004292911384255,-0.110109046101570,-0.048927258700132,0.032536886632442,-0.109522402286530,0.228949427604675,-0.000293092714855,0.062224667519331,0.056213527917862,0.068674847483635,-0.004603150766343,0.165132731199265,-0.148213624954224) * MODEL3_texOff(vec2(-1,0));
res += mat4(0.191851690411568,0.056037597358227,-0.016930755227804,-0.093704655766487,0.024126183241606,-0.047466430813074,-0.014275934547186,0.087111361324787,-0.016300100833178,0.088051021099091,-0.072119630873203,0.078845761716366,0.057814154773951,0.019197287037969,-0.109999403357506,-0.119458347558975) * MODEL3_texOff(vec2(-1,1));
res += mat4(-0.208176672458649,0.289760768413544,-0.162252396345139,-0.197586908936501,-0.262900084257126,-0.050438921898603,0.094888664782047,0.022937009111047,0.037588208913803,-0.001876354333945,-0.210497081279755,0.025879019871354,-0.219327449798584,0.027165884152055,-0.279692173004150,-0.002386738080531) * MODEL3_texOff(vec2(0,-1));
res += mat4(-0.048496261239052,0.187174335122108,-0.296466201543808,0.051511287689209,0.192699849605560,-0.104553043842316,0.167842417955399,0.187288373708725,-0.059582278132439,0.022515228018165,-0.126460492610931,-0.047838941216469,-0.263071596622467,-0.011985260061920,-0.093897111713886,-0.248838439583778) * MODEL3_texOff(vec2(0,0));
res += mat4(-0.008359307423234,-0.093396365642548,-0.046095557510853,0.029060272499919,-0.245619952678680,-0.029683427885175,-0.319099366664886,-0.194592416286469,-0.041848964989185,0.080220781266689,-0.070060245692730,-0.120599761605263,0.138022497296333,0.167203724384308,-0.094676889479160,-0.091207832098007) * MODEL3_texOff(vec2(0,1));
res += mat4(-0.047818116843700,0.046015094965696,-0.047407798469067,0.116169221699238,0.127136826515198,0.043198537081480,0.025500016286969,0.021769050508738,0.266800403594971,-0.122717991471291,-0.080735348165035,0.067183114588261,-0.012922680005431,0.005180241074413,-0.271641492843628,0.032263111323118) * MODEL3_texOff(vec2(1,-1));
res += mat4(0.221120536327362,0.185828715562820,0.029390268027782,0.086204729974270,0.087054461240768,0.165028586983681,0.030499914661050,0.073575310409069,-0.235442072153091,0.059478860348463,-0.082000911235809,-0.014914784580469,0.048484060913324,-0.085908286273479,-0.064928986132145,-0.097732864320278) * MODEL3_texOff(vec2(1,0));
res += mat4(-0.049314957112074,0.005843510851264,0.006231307517737,-0.004709863569587,0.082845196127892,-0.075370788574219,0.132272854447365,0.011780025437474,-0.186023265123367,-0.081513620913029,0.061437901109457,-0.157237112522125,0.014015541411936,0.057036343961954,0.016804443672299,0.066046342253685) * MODEL3_texOff(vec2(1,1));
res += mat4(-0.076021462678909,-0.037009380757809,-0.120735697448254,-0.009288043715060,0.028557877987623,0.045952823013067,0.035630766302347,-0.057031638920307,0.189523026347160,-0.144836589694023,0.105429053306580,-0.043049145489931,-0.010378522798419,0.018675640225410,0.031308829784393,0.014017975889146) * MODEL4_texOff(vec2(-1,-1));
res += mat4(-0.138291373848915,0.048233851790428,-0.194826558232307,-0.041567895561457,-0.026374192908406,-0.105450153350830,-0.140964731574059,0.036053325980902,-0.200976103544235,0.001894942950457,0.044424775987864,0.035121925175190,0.047915112227201,0.032002866268158,0.167675986886024,-0.010043341666460) * MODEL4_texOff(vec2(-1,0));
res += mat4(0.159029051661491,-0.096833370625973,0.006133441813290,-0.020481240004301,-0.008325202390552,-0.004718499258161,-0.132376179099083,-0.009322870522738,-0.169741347432137,-0.021907467395067,-0.027578251436353,0.065170109272003,0.017009351402521,0.032160531729460,-0.060719605535269,0.022760914638638) * MODEL4_texOff(vec2(-1,1));
res += mat4(-0.088825218379498,-0.245949566364288,0.133583426475525,-0.086687549948692,-0.080464564263821,0.003809298854321,0.057772189378738,0.067104853689671,0.100010059773922,-0.007133890874684,-0.129978612065315,-0.034297987818718,0.181797489523888,0.180548295378685,0.001090098056011,0.026433894410729) * MODEL4_texOff(vec2(0,-1));
res += mat4(0.092355117201805,-0.035086907446384,0.175576165318489,-0.089136198163033,-0.035197935998440,-0.161105409264565,0.224046289920807,0.048464760184288,0.007311169989407,-0.059980694204569,0.080924287438393,0.180436357855797,-0.252359241247177,0.020649252459407,-0.062173519283533,-0.331937760114670) * MODEL4_texOff(vec2(0,0));
res += mat4(-0.080490194261074,0.188779130578041,-0.145185038447380,0.042475100606680,-0.009353528730571,-0.133172765374184,0.097029596567154,0.041588138788939,-0.095240145921707,0.067302606999874,0.004456288646907,0.059214137494564,-0.071824789047241,-0.017334699630737,-0.050672944635153,-0.064719244837761) * MODEL4_texOff(vec2(0,1));
res += mat4(-0.264759600162506,-0.085136719048023,0.045804288238287,-0.110932968556881,0.113408364355564,-0.154435694217682,0.051050450652838,0.118009790778160,0.124989129602909,0.004967045038939,0.118257828056812,-0.028274653479457,-0.089254803955555,0.053788796067238,0.031513974070549,0.003419025801122) * MODEL4_texOff(vec2(1,-1));
res += mat4(-0.099625214934349,0.081902362406254,-0.062754966318607,-0.264037162065506,0.173304498195648,-0.276231855154037,0.050958607345819,0.097166180610657,-0.052986431866884,0.040277361869812,-0.010415795259178,-0.049417000263929,0.061967529356480,0.212865635752678,-0.061940427869558,0.224400982260704) * MODEL4_texOff(vec2(1,0));
res += mat4(0.192876979708672,-0.093619115650654,0.058821991086006,0.023686289787292,-0.170460954308510,-0.067128822207451,-0.106491655111313,0.108395293354988,-0.009413274936378,-0.018621219322085,-0.067245341837406,0.018647236749530,-0.009667891077697,-0.054320327937603,0.017431205138564,0.100098870694637) * MODEL4_texOff(vec2(1,1));
res += mat4(0.013454389758408,0.037303056567907,-0.152740076184273,0.080040171742439,-0.262398242950439,0.154308006167412,0.014328162185848,-0.055586792528629,0.053352683782578,0.019176790490746,-0.148603558540344,-0.050603311508894,-0.226657748222351,-0.001591144944541,-0.113811977207661,-0.342575043439865) * MODEL5_texOff(vec2(-1,-1));
res += mat4(0.005803484003991,-0.103113248944283,-0.215322598814964,0.068467579782009,0.066864065825939,0.139262065291405,0.048756979405880,-0.126869827508926,-0.146830335259438,-0.114204071462154,-0.209009483456612,0.021715665236115,-0.019175436347723,-0.063012182712555,-0.083383403718472,-0.256397962570190) * MODEL5_texOff(vec2(-1,0));
res += mat4(-0.019098583608866,0.116028450429440,0.066979199647903,0.044918999075890,-0.129177883267403,-0.105894625186920,0.007976795546710,-0.026783104985952,0.022040445357561,-0.136857241392136,0.056496381759644,0.068793974816799,-0.010401153005660,0.037303753197193,-0.083151414990425,-0.022882273420691) * MODEL5_texOff(vec2(-1,1));
res += mat4(-0.026264358311892,-0.156293049454689,-0.085230983793736,-0.151844561100006,-0.027924004942179,0.014192022383213,0.222514510154724,-0.120788931846619,-0.011799390427768,-0.010768963024020,0.099631883203983,0.020828984677792,-0.128685653209686,0.080660894513130,0.036441210657358,-0.334787458181381) * MODEL5_texOff(vec2(0,-1));
res += mat4(0.046689908951521,-0.473109096288681,0.021104933694005,-0.046949379146099,-0.331273972988129,0.170902192592621,-0.092617012560368,-0.143646359443665,-0.057890981435776,-0.139142751693726,0.305818051099777,0.224136009812355,0.261401265859604,-0.043534338474274,0.090191863477230,0.148990243673325) * MODEL5_texOff(vec2(0,0));
res += mat4(-0.122229039669037,-0.067247487604618,-0.091192290186882,-0.039408799260855,-0.105468131601810,-0.037965938448906,-0.054170720279217,-0.037250224500895,-0.023159032687545,0.021284516900778,-0.212790116667747,-0.205534547567368,0.092535145580769,0.061128426343203,0.107074968516827,0.006486737169325) * MODEL5_texOff(vec2(0,1));
res += mat4(0.079241730272770,-0.176231890916824,0.031163495033979,-0.111213870346546,0.169794976711273,0.108142904937267,-0.151679486036301,-0.113863490521908,0.030026748776436,0.050143919885159,0.009029058739543,-0.047763042151928,-0.091816380620003,0.167324617505074,0.071452476084232,-0.095730528235435) * MODEL5_texOff(vec2(1,-1));
res += mat4(0.000979951000772,-0.488559424877167,0.103976204991341,-0.017621060833335,0.093021914362907,-0.051425725221634,0.134916871786118,-0.039869491010904,0.049368623644114,-0.064182378351688,-0.059541851282120,0.002486965619028,-0.102623283863068,-0.097714021801949,0.012022475712001,-0.005131111014634) * MODEL5_texOff(vec2(1,0));
res += mat4(0.054094798862934,0.022892359644175,0.039104968309402,0.026565155014396,-0.138637125492096,0.031255688518286,0.057831753045321,0.050706729292870,0.059350810945034,-0.074450075626373,-0.020284200087190,0.128906756639481,0.019027508795261,-0.082020394504070,-0.101157933473587,0.005907874554396) * MODEL5_texOff(vec2(1,1));
res += mat4(0.298066198825836,0.031779404729605,0.107215568423271,-0.011082180775702,-0.029639814049006,-0.007734060287476,-0.122602552175522,-0.032031893730164,-0.199724137783051,0.089231953024864,-0.082313977181911,-0.053269296884537,-0.045047882944345,-0.047187499701977,0.119986899197102,0.066171810030937) * MODEL6_texOff(vec2(-1,-1));
res += mat4(0.080642305314541,-0.081332050263882,-0.193138048052788,0.054510578513145,-0.246892482042313,0.040263935923576,-0.169440582394600,0.022082187235355,-0.347411006689072,-0.057669878005981,-0.080192774534225,-0.109908856451511,-0.190239518880844,-0.117854081094265,-0.068189196288586,-0.047818228602409) * MODEL6_texOff(vec2(-1,0));
res += mat4(0.115249574184418,-0.113904371857643,-0.154948458075523,0.043856166303158,-0.155305653810501,0.133760869503021,-0.199613362550735,-0.103160917758942,0.187376156449318,-0.081694111227989,-0.125008836388588,0.026042249053717,-0.118806920945644,-0.058177679777145,-0.050556197762489,0.063109792768955) * MODEL6_texOff(vec2(-1,1));
res += mat4(0.256219863891602,0.040538605302572,-0.290934383869171,-0.113743498921394,-0.145875647664070,0.027390779927373,-0.064987614750862,-0.085177130997181,0.102980673313141,-0.224545195698738,-0.073355808854103,0.038369309157133,-0.165505409240723,0.062858097255230,-0.004905480891466,0.056829225271940) * MODEL6_texOff(vec2(0,-1));
res += mat4(0.055081717669964,-0.025551784783602,-0.060970518738031,-0.061327803879976,0.065981753170490,-0.081844747066498,0.164736568927765,0.093927994370461,-0.068541139364243,0.118232578039169,0.033032976090908,0.189801111817360,-0.236570522189140,-0.241594120860100,-0.084593899548054,0.120801106095314) * MODEL6_texOff(vec2(0,0));
res += mat4(0.045609328895807,-0.115410439670086,0.079288810491562,-0.123756743967533,-0.037904791533947,0.264851897954941,0.032203547656536,0.137800529599190,-0.103179663419724,0.101472988724709,-0.059462338685989,-0.086100853979588,-0.010656505823135,0.128518834710121,0.021068243309855,0.029087446630001) * MODEL6_texOff(vec2(0,1));
res += mat4(0.074356734752655,-0.060084503144026,0.029512880370021,0.065263517200947,0.162405058741570,-0.046980015933514,0.027202125638723,0.140530034899712,0.058602500706911,-0.022189794108272,0.040418975055218,0.085292041301727,0.203039139509201,-0.088105417788029,-0.006409819703549,-0.107060432434082) * MODEL6_texOff(vec2(1,-1));
res += mat4(0.051196377724409,-0.019782923161983,0.054258905351162,-0.002605285495520,-0.367174565792084,-0.059069942682981,-0.112493254244328,-0.063263274729252,0.161957025527954,0.092041745781898,0.155961066484451,-0.009545724838972,0.035060480237007,0.215947717428207,-0.074560709297657,-0.121924005448818) * MODEL6_texOff(vec2(1,0));
res += mat4(-0.059379950165749,-0.061751533299685,0.020448369905353,0.053981397300959,-0.142677277326584,-0.210364937782288,-0.044872842729092,-0.004475392401218,0.179720029234886,0.125674337148666,-0.050261784344912,0.010535854846239,0.062094461172819,-0.163734778761864,0.065830476582050,-0.011002482846379) * MODEL6_texOff(vec2(1,1));
res = max(res, vec4(0.0)) + vec4(0.511463522911072,0.491068214178085,0.006404802668840,0.546722173690796) * min(res, vec4(0.0));
return res;
}

//!HOOK LUMA
//!WHEN OUTPUT.w LUMA.w 2.200 * > OUTPUT.h LUMA.h 2.200 * > *
//!COMPONENTS 4
//!BIND MODEL1
//!BIND MODEL2
//!BIND MODEL3
//!BIND MODEL4
//!BIND MODEL5
//!BIND MODEL6
//!SAVE MODEL9
//!DESC [AiUpscale_HQ_Sharp_3x_LineArt] mapping 2_3

vec4 hook()
{
vec4 res = vec4(-0.051345311105251,-0.356702923774719,0.087080948054790,-0.041798956692219);
res += mat4(-0.099369108676910,0.370518088340759,-0.172927409410477,0.042418669909239,-0.020551063120365,-0.027128666639328,0.092337012290955,0.025144636631012,-0.075503692030907,-0.080858059227467,0.180538654327393,0.068322025239468,-0.166800409555435,0.101350687444210,-0.105003796517849,0.047429624944925) * MODEL1_texOff(vec2(-1,-1));
res += mat4(0.148979693651199,-0.204039663076401,-0.383677065372467,-0.109690703451633,-0.041445489972830,-0.031352367252111,0.022443363443017,-0.065677680075169,0.145210891962051,0.064681932330132,-0.402810513973236,-0.113361604511738,0.068969964981079,0.126829847693443,-0.189215809106827,0.254821807146072) * MODEL1_texOff(vec2(-1,0));
res += mat4(0.232298254966736,0.234683886170387,-0.089950092136860,0.081925764679909,-0.071768909692764,-0.090590856969357,-0.023969441652298,-0.163738936185837,0.005060004070401,-0.090588867664337,0.137529879808426,-0.001314170076512,0.072940327227116,-0.011958129703999,-0.075651250779629,-0.166816607117653) * MODEL1_texOff(vec2(-1,1));
res += mat4(-0.115136310458183,0.171468243002892,-0.074873298406601,0.152121350169182,-0.027719467878342,-0.041790366172791,0.195014148950577,-0.087430544197559,0.136496320366859,0.059256140142679,-0.354529500007629,0.084862984716892,-0.241172030568123,-0.043866299092770,-0.043054707348347,-0.078188806772232) * MODEL1_texOff(vec2(0,-1));
res += mat4(0.028365613892674,0.390579432249069,-0.152087584137917,0.032677102833986,-0.045367792248726,-0.032173682004213,0.238893643021584,0.185003131628036,0.093851968646049,0.198967799544334,0.095980778336525,-0.043127488344908,0.365107625722885,-0.261788874864578,0.270243138074875,-0.043378759175539) * MODEL1_texOff(vec2(0,0));
res += mat4(0.248819008469582,0.059627544134855,-0.012872995808721,-0.223845154047012,-0.253320962190628,-0.012859659269452,0.004891877062619,0.220172673463821,0.120262131094933,0.007698417175561,0.146615713834763,-0.296651899814606,-0.195181846618652,-0.049759496003389,-0.019231190904975,0.061926785856485) * MODEL1_texOff(vec2(0,1));
res += mat4(0.237645566463470,0.009462020359933,0.154499694705009,-0.209527507424355,0.090480029582977,0.096298433840275,-0.013442673720419,-0.187583729624748,-0.153510093688965,0.116198413074017,-0.043730553239584,-0.058320846408606,-0.125204354524612,-0.004982971120626,-0.029629571363330,-0.147187098860741) * MODEL1_texOff(vec2(1,-1));
res += mat4(0.289119571447372,-0.183018177747726,0.137869909405708,0.332879036664963,0.099623955786228,-0.085683807730675,-0.014803471043706,0.025673836469650,0.139028251171112,0.156631514430046,0.254291266202927,0.097090311348438,0.102403119206429,-0.009516865015030,0.050706706941128,0.010333606041968) * MODEL1_texOff(vec2(1,0));
res += mat4(0.226869910955429,-0.135224565863609,0.091123230755329,0.084720537066460,-0.076065480709076,-0.018172102048993,0.119220234453678,0.076225034892559,0.225567907094955,-0.005326489452273,0.134461477398872,-0.154631927609444,-0.154753088951111,0.005051604472101,-0.018739486113191,0.023288082331419) * MODEL1_texOff(vec2(1,1));
res += mat4(0.054008286446333,-0.029781505465508,0.019947636872530,-0.034489631652832,0.009311127476394,0.053183834999800,-0.291856527328491,0.140715911984444,-0.319790661334991,-0.020670704543591,0.163113072514534,0.131670400500298,-0.029090069234371,0.060827687382698,0.017264446243644,0.108505375683308) * MODEL2_texOff(vec2(-1,-1));
res += mat4(-0.172670990228653,-0.060490179806948,0.152074247598648,0.053633954375982,0.055248405784369,0.069102995097637,-0.183606237173080,0.033262718468904,-0.151557520031929,-0.004629259929061,0.091772407293320,-0.009956497699022,0.092514336109161,0.038797371089458,-0.035389356315136,-0.148449435830116) * MODEL2_texOff(vec2(-1,0));
res += mat4(0.032714661210775,-0.014872237108648,0.026135098189116,-0.085111714899540,-0.039781864732504,-0.003761483123526,-0.012825991958380,-0.045443139970303,-0.026196682825685,0.021739387884736,0.056662745773792,-0.133773833513260,0.006590184755623,0.052086997777224,0.064275987446308,0.276333779096603) * MODEL2_texOff(vec2(-1,1));
res += mat4(0.020477192476392,0.057259432971478,-0.042221687734127,0.182691916823387,0.096427738666534,0.062471758574247,0.081545926630497,-0.047703359276056,0.280783772468567,-0.361318439245224,0.059732064604759,0.113087251782417,-0.004907471127808,-0.034439709037542,0.225977793335915,-0.191855534911156) * MODEL2_texOff(vec2(0,-1));
res += mat4(0.111247062683105,-0.272935837507248,0.268652528524399,-0.052621126174927,-0.030886970460415,0.902118325233459,0.279292434453964,-0.054550934582949,0.037713121622801,0.182857200503349,-0.108913503587246,0.126534417271614,0.003183360677212,0.036681894212961,0.156742081046104,0.001209567766637) * MODEL2_texOff(vec2(0,0));
res += mat4(-0.039056397974491,-0.225442320108414,-0.294642359018326,-0.024571832269430,-0.076625511050224,-0.209338635206223,0.008120972663164,-0.300359964370728,-0.122825928032398,-0.019868986681104,0.134370207786560,-0.106047175824642,-0.035667058080435,0.010301032103598,-0.041276417672634,-0.063922852277756) * MODEL2_texOff(vec2(0,1));
res += mat4(-0.141081452369690,0.076652608811855,-0.218395888805389,0.148840978741646,0.021551644429564,-0.121576018631458,-0.069395482540131,-0.200165331363678,-0.084560334682465,0.062275215983391,-0.099954210221767,-0.157912418246269,-0.023558096960187,-0.074355654418468,-0.078138932585716,0.006203696131706) * MODEL2_texOff(vec2(1,-1));
res += mat4(0.253258138895035,0.028053676709533,-0.314559847116470,0.062694303691387,-0.046684063971043,-0.146903842687607,0.024568196386099,0.177932575345039,0.140117734670639,-0.024054663255811,0.054022926837206,0.022797930985689,0.080345995724201,-0.065094299614429,-0.016912072896957,-0.158076539635658) * MODEL2_texOff(vec2(1,0));
res += mat4(-0.109193488955498,0.077882394194603,-0.278730392456055,-0.277170538902283,0.127163827419281,-0.107542321085930,0.059290885925293,0.229246407747269,0.004033923614770,-0.067149862647057,-0.047841016203165,0.203837648034096,0.002270730445161,0.039680760353804,-0.013885274529457,0.024563191458583) * MODEL2_texOff(vec2(1,1));
res += mat4(0.100798644125462,0.209028974175453,0.097019426524639,-0.027188729494810,-0.016389325261116,0.064560890197754,-0.082946687936783,-0.182145476341248,-0.036425799131393,0.008044975809753,0.060652941465378,-0.032481815665960,0.066545389592648,0.014403501525521,-0.069061107933521,0.014124149456620) * MODEL3_texOff(vec2(-1,-1));
res += mat4(-0.096005611121655,0.003829524852335,0.215841323137283,0.059986371546984,-0.246858432888985,0.079226531088352,0.065013028681278,0.048141058534384,-0.037164419889450,-0.106859758496284,0.058123227208853,-0.148110702633858,0.025300256907940,-0.161645874381065,0.129089847207069,-0.029128136113286) * MODEL3_texOff(vec2(-1,0));
res += mat4(0.054388441145420,-0.032463081181049,0.055225405842066,-0.301406979560852,0.120677791535854,-0.025942465290427,-0.185640349984169,0.196272596716881,-0.043113227933645,0.002318886807188,-0.009154323488474,0.265370011329651,0.005420559085906,-0.085339896380901,0.068740181624889,0.032711833715439) * MODEL3_texOff(vec2(-1,1));
res += mat4(-0.058325674384832,-0.009670848026872,-0.093329094350338,0.244239315390587,0.016107168048620,0.022255267947912,0.123261973261833,-0.158688172698021,0.005026189144701,0.017505755648017,0.009032298810780,0.088273361325264,0.010291775688529,0.096779152750969,0.005061888601631,-0.033587276935577) * MODEL3_texOff(vec2(0,-1));
res += mat4(0.038948755711317,-0.062419995665550,-0.027931053191423,-0.388084501028061,0.242292732000351,-0.172575667500496,-0.277715861797333,-0.054256573319435,0.034006904810667,0.108104780316353,0.140637785196304,-0.037463016808033,-0.256903827190399,0.246178179979324,0.160628840327263,0.060124687850475) * MODEL3_texOff(vec2(0,0));
res += mat4(-0.086799904704094,0.001677456777543,-0.005690798629075,0.063721448183060,-0.323661237955093,0.124695286154747,0.198777675628662,0.018395027145743,0.012936025857925,0.024915356189013,0.013820173218846,-0.171602621674538,-0.124425217509270,-0.236975461244583,0.022153509780765,-0.177050471305847) * MODEL3_texOff(vec2(0,1));
res += mat4(0.031701523810625,-0.118493542075157,0.115492835640907,-0.129541635513306,0.125977367162704,-0.024134704843163,-0.002452234039083,0.216717317700386,-0.076991535723209,-0.071384906768799,-0.032185398042202,0.308196127414703,0.014954730868340,-0.008169163018465,0.102458611130714,-0.110946118831635) * MODEL3_texOff(vec2(1,-1));
res += mat4(0.101402819156647,0.077986903488636,0.111948199570179,0.150769665837288,-0.130221664905548,-0.090289190411568,0.040582194924355,-0.038278423249722,-0.016831519082189,-0.087297394871712,0.045990742743015,0.208114847540855,0.010939095169306,0.147724181413651,-0.000092049624072,-0.011372841894627) * MODEL3_texOff(vec2(1,0));
res += mat4(-0.054594431072474,0.010711522772908,0.015248471871018,0.009459308348596,0.171350017189980,-0.049462832510471,-0.022908670827746,-0.116990491747856,0.019421633332968,0.081756249070168,0.064568161964417,-0.275035709142685,-0.086327113211155,-0.205154746770859,-0.105642803013325,0.011609851382673) * MODEL3_texOff(vec2(1,1));
res += mat4(-0.013466612435877,0.087793469429016,-0.139508724212646,0.054803088307381,-0.005369418766350,-0.007317126728594,-0.021816775202751,-0.186743676662445,0.073582105338573,-0.124816559255123,-0.215236857533455,-0.081098139286041,0.108172595500946,-0.021800734102726,0.033670727163553,-0.004964492749423) * MODEL4_texOff(vec2(-1,-1));
res += mat4(-0.082310095429420,0.014455807395279,-0.032939996570349,0.105862371623516,-0.028406362980604,0.048339143395424,-0.107312560081482,0.130559712648392,-0.004728254862130,0.018726365640759,-0.098800510168076,0.118128739297390,-0.055040966719389,-0.023174433037639,0.121276967227459,-0.021502772346139) * MODEL4_texOff(vec2(-1,0));
res += mat4(-0.040414635092020,-0.076082676649094,0.111294806003571,-0.076127797365189,-0.024251246824861,0.033684384077787,-0.059942964464426,-0.068316116929054,0.050167933106422,-0.127442792057991,-0.064064115285873,0.060602981597185,-0.013848651200533,-0.010501402430236,-0.034623846411705,-0.112965829670429) * MODEL4_texOff(vec2(-1,1));
res += mat4(0.221375763416290,-0.241282343864441,-0.201910629868507,-0.244529202580452,-0.061113759875298,-0.011560365557671,-0.216111704707146,0.086346328258514,-0.086396910250187,0.005619924515486,-0.028373038396239,0.163664668798447,-0.080308772623539,0.132669731974602,-0.109366849064827,0.065221823751926) * MODEL4_texOff(vec2(0,-1));
res += mat4(0.141178861260414,-0.339915335178375,-0.095757640898228,-0.202497988939285,0.025780068710446,0.177633330225945,-0.179723113775253,0.058774247765541,0.020196648314595,-0.254282921552658,0.015751646831632,0.056695334613323,0.170249596238136,0.146851763129234,0.166610687971115,0.250097066164017) * MODEL4_texOff(vec2(0,0));
res += mat4(-0.032332021743059,-0.087047204375267,0.134039342403412,0.197388127446175,-0.069220356643200,-0.070961959660053,-0.123312242329121,-0.228062525391579,0.120440788567066,-0.454695701599121,0.215455412864685,-0.244127139449120,0.012033307924867,-0.017767107114196,0.118947647511959,-0.121724203228951) * MODEL4_texOff(vec2(0,1));
res += mat4(0.044070158153772,0.352194309234619,-0.051763433963060,0.125127434730530,0.035825390368700,0.013515671715140,-0.102714486420155,-0.040263913571835,-0.069035604596138,-0.032859195023775,0.017836069688201,-0.092384450137615,0.026451926678419,0.038370564579964,0.097681380808353,-0.140836700797081) * MODEL4_texOff(vec2(1,-1));
res += mat4(0.064838699996471,0.374621063470840,0.036714702844620,0.151227831840515,-0.009322019293904,-0.073096975684166,-0.119811020791531,0.224859073758125,-0.192996338009834,-0.187325075268745,0.082934685051441,0.033484198153019,0.050468731671572,-0.047122433781624,-0.111792787909508,0.230007424950600) * MODEL4_texOff(vec2(1,0));
res += mat4(-0.081418290734291,-0.246642187237740,0.012762162834406,0.084250614047050,0.018048131838441,0.000425748206908,-0.098134234547615,0.035756755620241,-0.017108254134655,-0.245946332812309,0.042946808040142,0.025349086150527,-0.018368797376752,-0.011663886718452,0.014713756740093,0.091536805033684) * MODEL4_texOff(vec2(1,1));
res += mat4(0.038933496922255,-0.031269405037165,-0.102330952882767,-0.141428858041763,-0.109266951680183,0.009336885064840,0.026367615908384,0.089779138565063,-0.022279681637883,-0.048822637647390,0.025632193312049,-0.050803035497665,0.009945262223482,0.414185553789139,0.107407376170158,0.056546892970800) * MODEL5_texOff(vec2(-1,-1));
res += mat4(0.052393000572920,-0.156492978334427,-0.052284471690655,-0.278365969657898,0.033752538263798,0.073031030595303,-0.027897637337446,0.092921145260334,-0.016361368820071,0.075500927865505,-0.067055314779282,0.063720032572746,-0.191933169960976,0.328538835048676,0.069457329809666,0.047245744615793) * MODEL5_texOff(vec2(-1,0));
res += mat4(-0.003447029273957,0.002907961606979,-0.064916618168354,0.217298090457916,0.099542886018753,-0.101469583809376,-0.079046152532101,-0.023527670651674,-0.039309799671173,0.134512394666672,-0.046487614512444,-0.112218871712685,-0.156363070011139,0.043677914887667,0.081558570265770,-0.040185637772083) * MODEL5_texOff(vec2(-1,1));
res += mat4(0.152110889554024,0.065777450799942,-0.013963085599244,-0.088027805089951,-0.044293887913227,-0.090616397559643,0.170261338353157,0.093882806599140,0.015400861389935,-0.122156888246536,0.019830808043480,0.089746437966824,0.160590738058090,0.076778523623943,0.030917689204216,0.089747160673141) * MODEL5_texOff(vec2(0,-1));
res += mat4(-0.034131441265345,-0.150381147861481,0.161653116345406,-0.046512905508280,0.031504739075899,-0.023531129583716,-0.025282043963671,0.151390299201012,-0.205964639782906,-0.357352405786514,0.031735993921757,0.037553839385509,0.037191320210695,-0.130681693553925,-0.093997679650784,0.010158846154809) * MODEL5_texOff(vec2(0,0));
res += mat4(0.100101567804813,0.040028035640717,-0.012589594349265,-0.099857501685619,-0.017030421644449,0.021940603852272,-0.012946240603924,0.163827538490295,0.069136776030064,0.190490499138832,-0.230781793594360,0.347428679466248,-0.118777051568031,-0.096945948898792,0.068392716348171,0.004917677026242) * MODEL5_texOff(vec2(0,1));
res += mat4(0.147182583808899,0.067927792668343,0.032927617430687,0.105602055788040,0.122228600084782,-0.015077018178999,0.074379824101925,0.216922879219055,0.059357758611441,-0.036023501306772,0.033782709389925,-0.121944308280945,0.075429387390614,0.120677053928375,0.000935491931159,-0.023532770574093) * MODEL5_texOff(vec2(1,-1));
res += mat4(0.025447936728597,-0.138324901461601,-0.036889731884003,-0.136132359504700,0.111388444900513,0.002726784441620,0.006742010824382,0.016635302454233,-0.004247365053743,-0.034245692193508,-0.084707349538803,-0.158202514052391,-0.219734683632851,-0.164880126714706,-0.119470052421093,0.015572337433696) * MODEL5_texOff(vec2(1,0));
res += mat4(0.065653368830681,-0.048951659351587,0.029966780915856,-0.044793210923672,-0.045779246836901,-0.002947268309072,0.000135119902552,-0.144145175814629,0.043574087321758,0.048633281141520,0.011301640421152,0.053870983421803,-0.051466852426529,-0.014159543439746,-0.023782406002283,0.022754477337003) * MODEL5_texOff(vec2(1,1));
res += mat4(0.048948667943478,-0.012244911864400,-0.057682316750288,-0.079796649515629,-0.010270133614540,0.000038063422835,0.118529953062534,-0.017203990370035,-0.141845241189003,0.001709734206088,-0.122352421283722,0.077845543622971,-0.057067349553108,0.144294306635857,-0.094808995723724,-0.219796523451805) * MODEL6_texOff(vec2(-1,-1));
res += mat4(0.106247521936893,-0.061280440539122,-0.235796898603439,-0.043299943208694,-0.030046250671148,0.083365395665169,0.140413418412209,0.106514021754265,-0.361887186765671,0.069842875003815,-0.049816615879536,0.206820324063301,-0.121398150920868,0.154464676976204,-0.013547418639064,0.211653530597687) * MODEL6_texOff(vec2(-1,0));
res += mat4(-0.008146183565259,-0.014946237206459,-0.099316470324993,-0.102351911365986,-0.115294061601162,0.019530033692718,0.108973026275635,0.294301867485046,-0.105407081544399,-0.228846758604050,-0.060130152851343,-0.131825938820839,-0.082172721624374,0.191012546420097,-0.034699250012636,0.140164628624916) * MODEL6_texOff(vec2(-1,1));
res += mat4(0.090853169560432,0.062390375882387,-0.084357567131519,0.028549186885357,-0.014855043962598,0.069599159061909,0.027948671951890,0.043416012078524,-0.048085976392031,-0.351021915674210,-0.006231876555830,-0.228842660784721,0.087848693132401,0.300793260335922,-0.027313554659486,0.048778556287289) * MODEL6_texOff(vec2(0,-1));
res += mat4(0.068363070487976,0.000483550771605,0.102276034653187,-0.144501775503159,0.079417243599892,-0.133460611104965,-0.216890737414360,-0.152948290109634,0.018285425379872,-0.424761921167374,-0.059952676296234,-0.150884643197060,-0.039095807820559,-0.075289905071259,0.055141661316156,-0.159422710537910) * MODEL6_texOff(vec2(0,0));
res += mat4(-0.000811042380519,0.017659155651927,0.011542773805559,0.042759865522385,0.141359433531761,0.054970730096102,-0.123257942497730,-0.086487650871277,0.138147249817848,0.016818454489112,0.024121891707182,0.147351518273354,0.090836741030216,0.195296630263329,0.001688051153906,0.054801419377327) * MODEL6_texOff(vec2(0,1));
res += mat4(-0.011610016226768,-0.050146419554949,-0.061843920499086,0.070173151791096,-0.034244734793901,-0.142976075410843,0.222169101238251,0.071407295763493,-0.026721058413386,-0.135747939348221,0.086410321295261,0.005107150413096,0.078311838209629,0.123057745397091,0.061743207275867,0.018679095432162) * MODEL6_texOff(vec2(1,-1));
res += mat4(-0.016302049160004,0.002067448105663,-0.068307489156723,-0.076482668519020,-0.030699614435434,0.092741191387177,0.172198221087456,-0.208843246102333,0.207611337304115,-0.193623065948486,0.145538777112961,-0.145835682749748,0.147631689906120,0.241688936948776,0.134271681308746,0.070821560919285) * MODEL6_texOff(vec2(1,0));
res += mat4(-0.072734639048576,-0.002326784189790,-0.072097763419151,0.017460202798247,-0.004279663786292,-0.051965788006783,-0.114050410687923,-0.160497575998306,0.238574981689453,-0.157416760921478,0.056286480277777,0.012776616029441,0.148995071649551,0.096764296293259,0.000884942011908,-0.067740030586720) * MODEL6_texOff(vec2(1,1));
res = max(res, vec4(0.0)) + vec4(0.746158003807068,-0.028915492817760,0.545169949531555,-0.201077342033386) * min(res, vec4(0.0));
return res;
}

//!HOOK LUMA
//!WHEN OUTPUT.w LUMA.w 2.200 * > OUTPUT.h LUMA.h 2.200 * > *
//!COMPONENTS 4
//!BIND MODEL1
//!BIND MODEL2
//!BIND MODEL3
//!BIND MODEL4
//!BIND MODEL5
//!BIND MODEL6
//!SAVE MODEL10
//!DESC [AiUpscale_HQ_Sharp_3x_LineArt] mapping 2_4

vec4 hook()
{
vec4 res = vec4(0.177805453538895,-0.202706038951874,0.222008377313614,0.065826609730721);
res += mat4(-0.193574279546738,0.530407547950745,-0.213766694068909,-0.033159330487251,0.057778708636761,-0.069201178848743,0.034074991941452,0.100064471364021,-0.026993937790394,0.062821879982948,0.018059035763144,0.032198611646891,0.188157796859741,0.057031951844692,0.010614903643727,0.083901152014732) * MODEL1_texOff(vec2(-1,-1));
res += mat4(-0.057986553758383,-0.256414830684662,-0.061278905719519,0.064410366117954,-0.081600114703178,-0.072175383567810,0.065524883568287,-0.055763997137547,-0.015479757450521,0.102903090417385,-0.161057323217392,0.022765334695578,-0.165680497884750,0.069771572947502,0.112873367965221,-0.165341481566429) * MODEL1_texOff(vec2(-1,0));
res += mat4(0.422677367925644,0.008672670461237,0.230179861187935,-0.017560234293342,-0.044236253947020,0.107985578477383,0.031859893351793,0.048803605139256,-0.099234171211720,-0.052298456430435,-0.065097309648991,0.018831357359886,-0.243260174989700,0.282328248023987,0.056105375289917,-0.014841170981526) * MODEL1_texOff(vec2(-1,1));
res += mat4(-0.144893988966942,0.259112149477005,-0.052124064415693,0.060754254460335,-0.000977818621323,-0.160719946026802,0.028530225157738,-0.011312508024275,0.073788121342659,0.083693869411945,-0.062737107276917,0.020175954326987,-0.069047965109348,0.071871988475323,-0.035629201680422,-0.044618681073189) * MODEL1_texOff(vec2(0,-1));
res += mat4(-0.092936471104622,-0.241173624992371,-0.069557085633278,0.151262953877449,0.075052879750729,0.273496478796005,-0.078666269779205,-0.059012465178967,0.197581619024277,0.057487655431032,-0.170599266886711,-0.270677953958511,-0.069816239178181,0.149186030030251,0.028890157118440,-0.536523342132568) * MODEL1_texOff(vec2(0,0));
res += mat4(0.085460007190704,0.029647465795279,0.500832855701447,-0.181991621851921,0.034742180258036,-0.029624938964844,-0.013480295427144,-0.035865273326635,0.018589219078422,0.150946423411369,0.227823629975319,-0.001477985060774,0.027075074613094,-0.004533819854259,0.084052383899689,0.027096219360828) * MODEL1_texOff(vec2(0,1));
res += mat4(0.037000838667154,0.060689896345139,0.034001156687737,0.193936198949814,-0.032946042716503,0.057066746056080,0.036993946880102,0.145992189645767,0.044835928827524,0.075340107083321,0.013323553837836,-0.191282242536545,0.010205152444541,0.002637475961819,-0.050164736807346,-0.047575339674950) * MODEL1_texOff(vec2(1,-1));
res += mat4(0.010667963884771,0.127652466297150,-0.037218961864710,0.086293913424015,0.049183446913958,0.157454326748848,-0.035881780087948,0.166737794876099,-0.007988947443664,0.064975000917912,-0.124209187924862,0.029403910040855,0.006428754888475,-0.016138868406415,-0.069574475288391,0.050110351294279) * MODEL1_texOff(vec2(1,0));
res += mat4(0.012170877307653,-0.108496606349945,-0.109906502068043,0.038812544196844,-0.086588345468044,-0.028740925714374,-0.097469627857208,0.144314646720886,-0.023222830146551,0.057434361428022,0.126386851072311,-0.082109048962593,-0.015728406608105,-0.026718907058239,0.082398027181625,0.034671004861593) * MODEL1_texOff(vec2(1,1));
res += mat4(0.045793950557709,-0.087393507361412,-0.048114232718945,-0.032544437795877,0.019191171973944,0.037123192101717,0.081343851983547,-0.513123393058777,-0.007098131347448,0.072494611144066,0.094436243176460,-0.100226946175098,-0.124601468443871,-0.163552775979042,-0.013578117825091,-0.187786087393761) * MODEL2_texOff(vec2(-1,-1));
res += mat4(0.054166734218597,0.132830351591110,0.087781861424446,-0.044351339340210,-0.042506173253059,-0.041346408426762,-0.019321488216519,-0.093038454651833,0.156585827469826,-0.067471742630005,0.296442776918411,0.037303667515516,0.221332356333733,0.064274899661541,0.202456831932068,-0.249584153294563) * MODEL2_texOff(vec2(-1,0));
res += mat4(0.034288641065359,0.030705207958817,0.008446451276541,-0.017006101086736,0.271920025348663,-0.112514004111290,0.044345315545797,-0.090631544589996,0.001175257726572,0.046258591115475,0.124905422329903,-0.072354026138783,0.013282449916005,0.100476264953613,0.177824512124062,0.067208208143711) * MODEL2_texOff(vec2(-1,1));
res += mat4(-0.054974231868982,0.134534984827042,0.004445453640074,-0.055974956601858,0.086860507726669,0.026328129693866,-0.241992160677910,0.163279503583908,-0.174314707517624,-0.235254138708115,0.009330010041595,-0.237487494945526,0.054239336401224,-0.094311229884624,-0.139804393053055,0.218470305204391) * MODEL2_texOff(vec2(0,-1));
res += mat4(0.049686904996634,-0.146912544965744,-0.047799494117498,-0.191889673471451,0.052719097584486,-0.009750191122293,0.367575883865356,0.331458240747452,0.120871409773827,-0.080692574381828,0.125133216381073,0.266495198011398,0.253052502870560,-0.033101879060268,-0.066047392785549,-0.374693751335144) * MODEL2_texOff(vec2(0,0));
res += mat4(-0.043284818530083,0.112348869442940,0.052824798971415,-0.135961294174194,0.235284551978111,0.105550847947598,-0.163597553968430,0.004321801010519,0.023683039471507,0.232639819383621,-0.032487794756889,-0.022405738011003,0.177647858858109,-0.003220654325560,0.013827037066221,0.026081018149853) * MODEL2_texOff(vec2(0,1));
res += mat4(0.007361547090113,-0.034498870372772,0.040783543139696,-0.121250264346600,-0.112612731754780,-0.030188376083970,-0.030495161190629,0.461781769990921,-0.013427329249680,-0.115883931517601,0.011366971768439,0.247792392969131,0.021068215370178,-0.014293535612524,-0.042369820177555,-0.116816319525242) * MODEL2_texOff(vec2(1,-1));
res += mat4(-0.016936652362347,-0.074977397918701,0.169510424137115,0.090750791132450,-0.103845417499542,0.140668436884880,-0.054196402430534,-0.041580703109503,0.008540220558643,0.100883781909943,-0.025458503514528,-0.233645051717758,-0.130161046981812,-0.003168164985254,-0.063137151300907,-0.107527732849121) * MODEL2_texOff(vec2(1,0));
res += mat4(0.163801863789558,0.111926347017288,-0.258525371551514,-0.117392718791962,-0.174889996647835,0.391387134790421,0.035226177424192,0.180554285645485,0.001095431158319,-0.004421568941325,0.026720637455583,0.123605400323868,-0.060880385339260,-0.036157894879580,0.002245056210086,-0.250410616397858) * MODEL2_texOff(vec2(1,1));
res += mat4(0.128069862723351,0.021540500223637,0.034662526100874,0.037248637527227,-0.063862025737762,0.107713155448437,-0.000634663156234,0.019520901143551,-0.057990159839392,0.071015313267708,-0.062592074275017,-0.133105561137199,-0.028030632063746,-0.038985043764114,-0.060414697974920,0.055801745504141) * MODEL3_texOff(vec2(-1,-1));
res += mat4(-0.153501421213150,-0.228572562336922,-0.032428279519081,0.010855098254979,-0.076468668878078,-0.043498538434505,0.181329295039177,0.136496633291245,0.021753197535872,-0.031961385160685,-0.071121126413345,-0.034045860171318,0.099705576896667,-0.048669531941414,-0.150796443223953,-0.161920070648193) * MODEL3_texOff(vec2(-1,0));
res += mat4(0.102804273366928,-0.010293405503035,-0.014397182501853,-0.111091002821922,-0.158768668770790,0.120949111878872,-0.048658564686775,-0.096365012228489,0.103150919079781,-0.038136508315802,0.055498454719782,0.190096572041512,0.071421116590500,-0.144827604293823,-0.111317694187164,-0.060290865600109) * MODEL3_texOff(vec2(-1,1));
res += mat4(0.131239056587219,0.069808207452297,-0.097715869545937,-0.414708375930786,0.078602284193039,0.176701143383980,-0.027746576815844,0.034463532269001,-0.054745964705944,-0.007280246354640,-0.075945943593979,0.062954977154732,0.057119693607092,0.090159878134727,-0.087068118155003,0.042400546371937) * MODEL3_texOff(vec2(0,-1));
res += mat4(-0.011823180131614,-0.253066658973694,0.102214179933071,0.048059538006783,-0.012610733509064,-0.093188852071762,-0.141392469406128,-0.141175359487534,-0.038010422140360,0.151022255420685,0.093039698898792,0.174421146512032,0.270732820034027,-0.360638499259949,0.088002167642117,-0.145419493317604) * MODEL3_texOff(vec2(0,0));
res += mat4(0.054298777133226,0.039590850472450,0.225695893168449,0.102647505700588,0.149894684553146,0.045507349073887,-0.005550690926611,0.023880800232291,-0.136666700243950,0.034805189818144,-0.097205661237240,-0.160441324114799,-0.134515196084976,0.078977249562740,0.017753139138222,-0.113623544573784) * MODEL3_texOff(vec2(0,1));
res += mat4(-0.034791599959135,-0.096969969570637,-0.014644195325673,-0.233486309647560,-0.002471831161529,-0.234121546149254,0.049734715372324,0.041029211133718,-0.040465731173754,-0.095940425992012,0.030533013865352,-0.134269192814827,-0.022339357063174,-0.081590846180916,0.080044791102409,0.088111020624638) * MODEL3_texOff(vec2(1,-1));
res += mat4(0.162770316004753,0.021459318697453,0.068685695528984,-0.113928817212582,0.131226539611816,-0.071015834808350,0.087352372705936,0.084594756364822,0.031690660864115,-0.075649283826351,0.142023906111717,-0.320516347885132,0.068078376352787,-0.085304439067841,-0.071662783622742,0.143950119614601) * MODEL3_texOff(vec2(1,0));
res += mat4(0.126339957118034,0.043973986059427,0.021267849951982,0.048833027482033,-0.045381143689156,0.190428853034973,-0.020219225436449,0.041848078370094,0.131928145885468,-0.163255289196968,0.049440041184425,-0.082903720438480,-0.216758519411087,0.107920318841934,-0.010808875784278,-0.254682809114456) * MODEL3_texOff(vec2(1,1));
res += mat4(-0.069105982780457,-0.055350929498672,0.015637923032045,0.073322691023350,-0.018832068890333,-0.135378360748291,-0.024683855473995,-0.010312442667782,-0.095982506871223,-0.125517547130585,-0.072040818631649,-0.076443061232567,0.021986450999975,-0.044290535151958,-0.037889644503593,-0.028052328154445) * MODEL4_texOff(vec2(-1,-1));
res += mat4(-0.086471088230610,-0.088061027228832,0.087392017245293,-0.037458911538124,-0.026866780593991,0.177567765116692,-0.027601398527622,-0.058530628681183,-0.051891464740038,0.048685327172279,0.063023313879967,-0.146276250481606,0.133147060871124,-0.007802378851920,-0.078202210366726,-0.115108698606491) * MODEL4_texOff(vec2(-1,0));
res += mat4(0.071394480764866,-0.068708799779415,0.009701586328447,-0.251353323459625,-0.057289574295282,0.170487567782402,0.040042523294687,-0.003043375909328,0.119487531483173,-0.069657906889915,0.096250370144844,0.009648018516600,-0.050576120615005,-0.092699602246284,-0.135648280382156,-0.013492386788130) * MODEL4_texOff(vec2(-1,1));
res += mat4(-0.177912205457687,-0.089148186147213,-0.087928570806980,-0.112605072557926,-0.108091942965984,0.214000090956688,0.059428509324789,0.189859613776207,-0.156736895442009,0.113134332001209,-0.096663251519203,-0.109691895544529,0.060747530311346,-0.046077843755484,0.135980129241943,-0.011747497133911) * MODEL4_texOff(vec2(0,-1));
res += mat4(-0.010042567737401,0.052352383732796,-0.117339603602886,-0.122500546276569,-0.221588090062141,0.286664068698883,-0.045071974396706,0.102793648838997,-0.077289238572121,0.126463010907173,0.106096804141998,0.044958956539631,-0.371007710695267,-0.041904538869858,-0.115601375699043,-0.092654757201672) * MODEL4_texOff(vec2(0,0));
res += mat4(0.067378662526608,0.090669989585876,0.042687021195889,-0.042066194117069,-0.042923703789711,0.444228917360306,-0.045032072812319,0.099838681519032,0.130102902650833,0.154336869716644,0.130868971347809,0.038617890328169,0.147990807890892,-0.089800655841827,-0.053284477442503,-0.155975475907326) * MODEL4_texOff(vec2(0,1));
res += mat4(-0.023461764678359,-0.134200766682625,0.158317863941193,0.230756849050522,-0.058443915098906,0.171143934130669,0.082079187035561,-0.259718239307404,-0.044166550040245,-0.114573128521442,-0.036426216363907,0.058763924986124,0.074964649975300,0.040166657418013,0.061726178973913,-0.178125053644180) * MODEL4_texOff(vec2(1,-1));
res += mat4(0.104735866189003,-0.168812856078148,0.221817001700401,0.154554501175880,0.004511120729148,0.246526911854744,-0.035615015774965,0.303669959306717,0.034585267305374,-0.102466113865376,-0.046738296747208,0.123977638781071,0.107458412647247,-0.121621251106262,-0.101493567228317,-0.820096194744110) * MODEL4_texOff(vec2(1,0));
res += mat4(-0.045375712215900,0.115218088030815,-0.110063739120960,0.000880512467120,0.011708733625710,0.066196978092194,0.066393904387951,0.174425482749939,0.066709734499454,0.189871251583099,-0.105097204446793,0.295696616172791,0.014073303900659,-0.042016688734293,-0.050746396183968,0.100461259484291) * MODEL4_texOff(vec2(1,1));
res += mat4(-0.122591204941273,0.015557805076241,-0.055580034852028,-0.057055566459894,-0.155364260077477,0.249753743410110,0.091655969619751,-0.118297763168812,0.004044495522976,-0.064225815236568,0.005598840769380,0.001542336423881,0.079924888908863,0.261074781417847,-0.028256103396416,0.012559921480715) * MODEL5_texOff(vec2(-1,-1));
res += mat4(-0.239154726266861,-0.049171570688486,-0.146965250372887,-0.069844327867031,0.049208752810955,-0.079622484743595,0.033811304718256,0.033915806561708,-0.053354863077402,-0.025796361267567,0.069871656596661,0.050939090549946,-0.105953194200993,0.069137021899223,-0.102149389684200,0.015400264412165) * MODEL5_texOff(vec2(-1,0));
res += mat4(-0.013198272325099,0.005263648461550,-0.028431558981538,0.092915281653404,0.046806134283543,-0.168617740273476,0.115749098360538,-0.094289124011993,-0.121049702167511,-0.131371662020683,-0.156285554170609,0.059898100793362,-0.092014990746975,0.078607521951199,-0.207571163773537,0.040988273918629) * MODEL5_texOff(vec2(-1,1));
res += mat4(-0.148367211222649,0.152591094374657,0.050684355199337,-0.100399233400822,0.106248199939728,-0.130087658762932,-0.078936100006104,0.173337325453758,-0.056351345032454,0.084580026566982,-0.020536450669169,0.010181772522628,0.050768267363310,0.075769349932671,0.074472658336163,-0.241756916046143) * MODEL5_texOff(vec2(0,-1));
res += mat4(-0.771344900131226,0.041819728910923,-0.020528722554445,0.055005859583616,0.081478178501129,-0.083338022232056,0.046142976731062,0.119715601205826,-0.019201397895813,-0.004958627279848,-0.205853968858719,0.034116901457310,-0.215577855706215,-0.195380747318268,0.097414463758469,-0.082818418741226) * MODEL5_texOff(vec2(0,0));
res += mat4(-0.185015231370926,-0.104389630258083,-0.191226437687874,-0.181071400642395,0.181564226746559,0.015873642638326,0.181539505720139,-0.017496785148978,0.214550822973251,0.212562978267670,-1.081997156143188,-0.062426853924990,0.073914781212807,0.070892691612244,0.106406398117542,-0.015316581353545) * MODEL5_texOff(vec2(0,1));
res += mat4(0.096755102276802,0.119247972965240,0.044529270380735,-0.655514776706696,0.068761199712753,0.150374785065651,-0.017282875254750,0.128847852349281,0.043211854994297,-0.013076352886856,0.002272119745612,0.010216072201729,0.075508244335651,-0.025053892284632,-0.006632461678237,-0.069265864789486) * MODEL5_texOff(vec2(1,-1));
res += mat4(-0.133997350931168,-0.005649996921420,-0.183153972029686,0.184534415602684,0.148182347416878,-0.076989755034447,0.166352272033691,-0.223164722323418,-0.098912954330444,-0.090914644300938,-0.128669574856758,0.100953087210655,-0.069273784756660,-0.054279785603285,-0.065486192703247,0.102248929440975) * MODEL5_texOff(vec2(1,0));
res += mat4(0.017435537651181,-0.175325483083725,-0.047279674559832,-0.046242952346802,0.117817282676697,-0.178965732455254,0.102727293968201,0.017265707254410,-0.102520026266575,-0.000058600722696,-0.172079607844353,-0.894290745258331,-0.024728398770094,-0.003363620722666,0.016885256394744,-0.004996469244361) * MODEL5_texOff(vec2(1,1));
res += mat4(0.072565123438835,-0.109326578676701,0.045426692813635,-0.070083305239677,0.080435596406460,-0.165817230939865,0.021293388679624,-0.066643290221691,-0.196633338928223,0.039045561105013,0.022733367979527,-0.075178772211075,-0.101649977266788,0.064213514328003,-0.111489854753017,0.008579107932746) * MODEL6_texOff(vec2(-1,-1));
res += mat4(-0.189096316695213,0.122099898755550,0.135973855853081,-0.102364465594292,0.110410712659359,-0.008346520364285,0.030904397368431,0.012966077774763,-0.215170830488205,0.155384406447411,0.051310896873474,-0.080604597926140,-0.244058042764664,0.135420337319374,-0.060190428048372,-0.132621794939041) * MODEL6_texOff(vec2(-1,0));
res += mat4(-0.258470654487610,-0.082133814692497,-0.340618371963501,0.074145309627056,0.041146628558636,-0.094383321702480,0.120649494230747,0.088427670300007,-0.047054246068001,-0.099453240633011,0.304243803024292,-0.017431041225791,0.099683970212936,-0.018508091568947,0.042443841695786,0.007786680012941) * MODEL6_texOff(vec2(-1,1));
res += mat4(-0.023480029776692,-0.048970665782690,-0.124763533473015,-0.009826825000346,0.156996056437492,0.121255055069923,0.011234316043556,-0.056102536618710,-0.140371054410934,-0.143194749951363,0.001443619956262,-0.056522555649281,-0.110129043459892,0.169901356101036,-0.135473102331161,0.117742531001568) * MODEL6_texOff(vec2(0,-1));
res += mat4(-0.186325073242188,-0.027053471654654,0.018052132800221,-0.600355327129364,-0.172522976994514,-0.117716982960701,-0.040169287472963,-0.068248592317104,0.003416178049520,-0.306840956211090,-0.169269949197769,-0.004228767473251,0.034781638532877,-0.187463089823723,0.060187377035618,-0.123256675899029) * MODEL6_texOff(vec2(0,0));
res += mat4(0.010181934572756,0.104635834693909,-0.059970140457153,0.218075335025787,-0.451695770025253,0.182392850518227,-0.233316764235497,-0.209442466497421,0.456880450248718,-0.419949144124985,-0.235185995697975,-0.184232577681541,0.278266966342926,-0.199454262852669,0.207915559411049,-0.104337356984615) * MODEL6_texOff(vec2(0,1));
res += mat4(0.058366611599922,0.122270166873932,0.050569966435432,-0.110843591392040,0.097931258380413,-0.206288218498230,0.048179220408201,0.058946494013071,0.024353861808777,0.015732215717435,-0.008051326498389,0.255980014801025,0.015406964346766,0.035122334957123,-0.033143978565931,-0.032045084983110) * MODEL6_texOff(vec2(1,-1));
res += mat4(0.073259159922600,-0.023498799651861,0.078667111694813,0.143720090389252,-0.079305417835712,-0.089502200484276,0.081932455301285,0.195428997278214,0.138997137546539,-0.160850122570992,-0.081837899982929,0.157221481204033,-0.037157945334911,-0.246201336383820,-0.092232674360275,0.094926968216896) * MODEL6_texOff(vec2(1,0));
res += mat4(-0.022548308596015,-0.098219931125641,-0.014321683906019,0.049948982894421,-0.107060730457306,0.189873158931732,0.025752717629075,0.118782214820385,0.065300770103931,-0.057475119829178,-0.152179628610611,-0.051003418862820,-0.090418539941311,0.099267393350601,-0.025452405214310,-0.113492265343666) * MODEL6_texOff(vec2(1,1));
res = max(res, vec4(0.0)) + vec4(0.044845260679722,-0.061960324645042,0.123001575469971,0.023730210959911) * min(res, vec4(0.0));
return res;
}

//!HOOK LUMA
//!WHEN OUTPUT.w LUMA.w 2.200 * > OUTPUT.h LUMA.h 2.200 * > *
//!COMPONENTS 4
//!BIND MODEL1
//!BIND MODEL2
//!BIND MODEL3
//!BIND MODEL4
//!BIND MODEL5
//!BIND MODEL6
//!SAVE MODEL11
//!DESC [AiUpscale_HQ_Sharp_3x_LineArt] mapping 2_5

vec4 hook()
{
vec4 res = vec4(-0.102870076894760,-0.363064408302307,-0.058971244841814,-0.296802759170532);
res += mat4(0.319525361061096,0.085212424397469,0.270947098731995,-0.026975452899933,0.124765068292618,-0.030346952378750,0.311728149652481,-0.028116734698415,-0.000970101566054,0.022699780762196,-0.163063168525696,-0.056899443268776,-0.081259258091450,0.064463607966900,-0.135369449853897,0.133756428956985) * MODEL1_texOff(vec2(-1,-1));
res += mat4(-0.319803655147552,0.866854786872864,-0.085271432995796,0.613779783248901,0.150879204273224,0.135197147727013,0.064717464148998,-0.043261308223009,-0.046935651451349,-0.163079231977463,0.396982222795486,0.013640497811139,-0.709140479564667,0.041554044932127,-0.721143364906311,0.157435745000839) * MODEL1_texOff(vec2(-1,0));
res += mat4(-0.122005015611649,-0.231683686375618,0.071406662464142,0.149777323007584,0.178449124097824,0.072811171412468,-0.012547390535474,-0.025337461382151,0.071913883090019,-0.080767109990120,-0.019284134730697,-0.009382036514580,-0.002353601157665,0.138476133346558,-0.086096182465553,-0.172794923186302) * MODEL1_texOff(vec2(-1,1));
res += mat4(-0.110987253487110,-0.148884236812592,-0.003077363828197,-0.085209734737873,0.209103956818581,-0.021515078842640,0.069908946752548,0.048784427344799,0.014719151891768,-0.150888457894325,0.031452659517527,0.018927928060293,0.078324981033802,0.030126405879855,-0.145534485578537,-0.037148825824261) * MODEL1_texOff(vec2(0,-1));
res += mat4(0.024433685466647,-0.500923931598663,-0.040578056126833,0.219054102897644,0.092126742005348,0.088787458837032,-0.143540292978287,-0.026370925828815,0.146215498447418,0.001602710573934,0.067148827016354,0.196836411952972,0.081420168280602,0.089920222759247,-0.176138356328011,0.234116151928902) * MODEL1_texOff(vec2(0,0));
res += mat4(0.231301680207253,-0.160578489303589,0.149551615118980,0.062136851251125,0.013692878186703,0.007365769706666,0.202668711543083,0.070044055581093,0.045436803251505,0.092193879187107,-0.120931804180145,-0.021028919145465,-0.206570878624916,0.110974788665771,-0.001881735399365,0.067199960350990) * MODEL1_texOff(vec2(0,1));
res += mat4(0.195374339818954,-0.085860423743725,-0.124091349542141,-0.002243367955089,0.206787630915642,-0.051005907356739,-0.030796775594354,0.015407710336149,0.145703241229057,0.034012906253338,-0.079263381659985,-0.099041841924191,-0.054409615695477,0.031066820025444,-0.043883200734854,-0.065737560391426) * MODEL1_texOff(vec2(1,-1));
res += mat4(0.024724842980504,0.003606214420870,0.114898771047592,-0.035430699586868,0.108731061220169,-0.000154777284479,0.023359078913927,-0.021213030442595,0.018071640282869,0.146411240100861,-0.078597262501717,0.186042189598083,0.167901948094368,-0.042277906090021,-0.131219103932381,0.023745106533170) * MODEL1_texOff(vec2(1,0));
res += mat4(0.030624359846115,-0.147211402654648,0.032236702740192,-0.121248714625835,0.047156691551208,0.015540215186775,0.144958794116974,-0.077644772827625,-0.105366080999374,0.161319360136986,-0.010423164814711,-0.254002541303635,-0.141880318522453,0.034411635249853,0.021482357755303,0.051286373287439) * MODEL1_texOff(vec2(1,1));
res += mat4(-0.095124214887619,-0.034085266292095,0.082191288471222,-0.005270825233310,-0.052182354032993,-0.048168860375881,0.029226703569293,0.053427439182997,-0.298667967319489,0.013414682820439,0.213565498590469,0.037204034626484,-0.115846887230873,-0.050446245819330,-0.101830795407295,-0.142376273870468) * MODEL2_texOff(vec2(-1,-1));
res += mat4(-0.153215676546097,-0.024301907047629,-0.093758918344975,0.034108854830265,0.080802895128727,0.123757444322109,0.027024481445551,-0.220080330967903,0.179677605628967,0.073461256921291,0.184619769454002,-0.106695123016834,-0.173743784427643,0.059707652777433,0.061771389096975,-0.084637649357319) * MODEL2_texOff(vec2(-1,0));
res += mat4(-0.126399636268616,-0.004296537954360,-0.048968799412251,0.072483338415623,0.569475948810577,0.123937644064426,-0.008372648619115,0.018850268796086,0.162089571356773,0.041773069649935,-0.128863289952278,-0.064649313688278,-0.059278037399054,0.035851981490850,-0.068181507289410,-0.062682360410690) * MODEL2_texOff(vec2(-1,1));
res += mat4(-0.164727166295052,0.058073692023754,-0.083314180374146,0.008349328301847,0.094271011650562,-0.009797370061278,0.044592138379812,0.008202172815800,0.032400183379650,0.108147472143173,0.071518026292324,0.126313775777817,0.140241265296936,-0.180250391364098,-0.242168337106705,-0.085531957447529) * MODEL2_texOff(vec2(0,-1));
res += mat4(0.048784326761961,0.024719413369894,0.113773807883263,0.085744671523571,-0.216013744473457,0.022358957678080,0.013738341629505,0.031598422676325,-0.216904759407043,-0.120250307023525,-0.257085770368576,-0.145671844482422,0.108451724052429,-0.057837277650833,-0.061754401773214,-0.163112461566925) * MODEL2_texOff(vec2(0,0));
res += mat4(0.178348273038864,-0.059939917176962,-0.017861433327198,-0.135769337415695,0.146617338061333,0.145420625805855,-0.086404889822006,-0.208431571722031,0.131271302700043,0.005575393792242,0.118918135762215,0.066947266459465,-0.258049190044403,-0.102049425244331,-0.093908399343491,-0.021379755809903) * MODEL2_texOff(vec2(0,1));
res += mat4(0.036519803106785,0.048737220466137,-0.121037580072880,-0.067268274724483,0.250296562910080,-0.063914239406586,-0.055785305798054,0.262267440557480,-0.017456453293562,-0.175318405032158,-0.093659229576588,0.082968652248383,-0.112085506320000,-0.067255035042763,0.004254544153810,-0.093561343848705) * MODEL2_texOff(vec2(1,-1));
res += mat4(0.046002533286810,-0.000420305732405,0.049871724098921,-0.051139697432518,-0.123474635183811,0.076353199779987,-0.230720162391663,-0.120254918932915,0.085065729916096,0.111448019742966,0.083279781043530,-0.132646769285202,0.005791722796857,-0.023029727861285,0.118630357086658,-0.126946002244949) * MODEL2_texOff(vec2(1,0));
res += mat4(-0.086856491863728,-0.266270846128464,-0.315563291311264,-0.015114713460207,-0.266279071569443,0.037871278822422,-0.037541028112173,0.222159087657928,-0.253888398408890,0.053586490452290,-0.052035555243492,0.085555218160152,-0.008250251412392,-0.016605747863650,-0.065597228705883,-0.019503042101860) * MODEL2_texOff(vec2(1,1));
res += mat4(-0.121257893741131,0.007933129556477,-0.180848136544228,-0.064867839217186,0.107947111129761,0.020774403586984,-0.213456258177757,0.019482132047415,-0.069123528897762,0.024214204400778,0.062521584331989,0.013471105135977,0.160693868994713,0.016498520970345,-0.118451952934265,-0.086160562932491) * MODEL3_texOff(vec2(-1,-1));
res += mat4(0.181153938174248,0.122249960899353,-0.005078990012407,0.045039881020784,-0.150494113564491,0.024101527407765,0.283512532711029,0.049891024827957,0.405671745538712,-0.111073620617390,0.088879726827145,-0.012904754839838,0.028329268097878,-0.077356405556202,0.217049777507782,-0.041862521320581) * MODEL3_texOff(vec2(-1,0));
res += mat4(0.082088209688663,0.044258650392294,-0.012007488869131,0.032561998814344,-0.051499105989933,0.039801068603992,-0.039129532873631,-0.027908962219954,0.017272891476750,-0.208170309662819,0.035187553614378,0.127139970660210,0.163456857204437,0.071848690509796,-0.102550968527794,-0.039948828518391) * MODEL3_texOff(vec2(-1,1));
res += mat4(-0.143261119723320,-0.416644096374512,0.061803571879864,-0.083658844232559,-0.000397169962525,-0.169839754700661,0.139730140566826,-0.036717049777508,-0.009504705667496,0.031409692019224,-0.163363799452782,0.049906637519598,-0.116760522127151,0.104860588908195,0.259799629449844,-0.046701047569513) * MODEL3_texOff(vec2(0,-1));
res += mat4(-0.137088954448700,-0.059879790991545,-0.099495314061642,0.102420218288898,0.226411804556847,-0.054891336709261,0.027283648028970,0.182569265365601,0.010560058988631,0.122697770595551,-0.004271624144167,0.020392704755068,-0.167100936174393,0.039609130471945,-0.096182860434055,0.088176846504211) * MODEL3_texOff(vec2(0,0));
res += mat4(-0.008849372155964,0.038332108408213,0.031119365245104,0.001236128620803,-0.072890989482403,-0.061249166727066,-0.040805108845234,0.062527202069759,0.171865969896317,-0.225119382143021,0.213696688413620,-0.074055269360542,-0.101160518825054,0.005187456030399,-0.095435090363026,0.118227124214172) * MODEL3_texOff(vec2(0,1));
res += mat4(0.194752991199493,0.062365800142288,0.036672163754702,0.125866308808327,-0.168043345212936,0.053004737943411,0.088824346661568,-0.126899302005768,-0.236730366945267,0.113461010158062,0.149814262986183,0.084080018103123,-0.033324822783470,0.094821885228157,-0.027685463428497,-0.039176899939775) * MODEL3_texOff(vec2(1,-1));
res += mat4(0.072644248604774,0.120722576975822,-0.023497201502323,-0.002827615942806,-0.072150528430939,0.119088947772980,-0.016441898420453,-0.155664294958115,-0.189317196607590,0.065498135983944,-0.017589293420315,0.034882944077253,-0.189666867256165,-0.013366232626140,-0.231229454278946,0.073833726346493) * MODEL3_texOff(vec2(1,0));
res += mat4(-0.072100818157196,-0.026617409661412,0.004895001184195,0.048955004662275,0.081171162426472,0.009263490326703,-0.153635740280151,0.068308383226395,0.060663312673569,0.061106715351343,-0.083455048501492,0.087075196206570,0.003075998043641,-0.023030156269670,0.022222580388188,-0.038653861731291) * MODEL3_texOff(vec2(1,1));
res += mat4(-0.122244752943516,0.028456954285502,0.094242960214615,-0.049207203090191,-0.015995543450117,0.178201913833618,0.125876501202583,0.002787249861285,-0.083095595240593,0.028594212606549,-0.048439808189869,0.024642083793879,-0.014789048582315,-0.090154051780701,0.017832692712545,0.065827652812004) * MODEL4_texOff(vec2(-1,-1));
res += mat4(-0.223146378993988,-0.010048492811620,0.097117625176907,-0.000002466678779,-0.221473768353462,0.031880602240562,-0.090048253536224,0.000017376289179,0.078257605433464,0.216080069541931,-0.034739606082439,-0.041825879365206,-0.059846024960279,0.022398704662919,0.136750921607018,-0.007287116721272) * MODEL4_texOff(vec2(-1,0));
res += mat4(-0.080896541476250,-0.020245509222150,0.061563797295094,-0.085374101996422,-0.267325609922409,0.121133625507355,-0.070873901247978,-0.015234359540045,0.138888239860535,0.120544523000717,-0.175711601972580,0.004780088551342,0.046916626393795,-0.043647315353155,0.018463699147105,-0.013169069774449) * MODEL4_texOff(vec2(-1,1));
res += mat4(-0.045461069792509,0.295273095369339,-0.165733009576797,0.007396283559501,-0.312921226024628,0.107130564749241,-0.092420227825642,0.075288176536560,0.056318048387766,0.035668756812811,0.032234869897366,0.011798568069935,-0.067369133234024,-0.042841214686632,-0.221653476357460,-0.200303480029106) * MODEL4_texOff(vec2(0,-1));
res += mat4(0.010213489644229,0.394309818744659,0.129853129386902,0.329268872737885,0.180172801017761,-0.074887253344059,-0.133613109588623,0.029759660363197,0.068194799125195,0.223529070615768,0.150645136833191,-0.017516169697046,-0.205820396542549,-0.168174460530281,-0.437880665063858,-0.140106871724129) * MODEL4_texOff(vec2(0,0));
res += mat4(0.091198794543743,0.068616874516010,-0.145517632365227,0.167838171124458,0.023087389767170,0.015895847231150,-0.012724963948131,-0.078507907688618,0.096141137182713,0.122299641370773,0.027714066207409,0.066070891916752,0.094087585806847,0.034202050417662,-0.029185498133302,0.067772857844830) * MODEL4_texOff(vec2(0,1));
res += mat4(-0.050197605043650,-0.057596221566200,0.042783722281456,-0.078293874859810,-0.244268521666527,0.007019638083875,-0.033008113503456,-0.123300254344940,-0.008691867813468,0.054474748671055,0.061398863792419,-0.067075088620186,0.127549439668655,0.030037686228752,0.045016396790743,-0.045381881296635) * MODEL4_texOff(vec2(1,-1));
res += mat4(-0.101426407694817,-0.083597175776958,0.135796129703522,-0.020500784739852,-0.247449472546577,-0.004403242841363,-0.021988071501255,0.062335863709450,-0.111918725073338,-0.057736903429031,0.007494895253330,0.095919393002987,-0.045539941638708,-0.050171732902527,-0.072034642100334,-0.189756378531456) * MODEL4_texOff(vec2(1,0));
res += mat4(0.205668404698372,0.140981346368790,-0.040476795285940,0.058296412229538,-0.157676681876183,-0.049871984869242,0.037750016897917,0.013849156908691,0.112212970852852,0.285785079002380,-0.089365512132645,-0.041522335261106,-0.003481698920950,0.094719253480434,-0.036611728370190,-0.186596244573593) * MODEL4_texOff(vec2(1,1));
res += mat4(-0.129577383399010,0.022240217775106,0.242912337183952,0.083257801830769,0.067421488463879,0.107673391699791,0.093344651162624,-0.070268385112286,-0.064507775008678,-0.043570581823587,0.112656667828560,-0.038280233740807,0.002841042354703,-0.116605319082737,0.114119529724121,0.004358584992588) * MODEL5_texOff(vec2(-1,-1));
res += mat4(-0.038157802075148,-0.014040453359485,-0.120564207434654,-0.053417194634676,-0.105756677687168,0.207942679524422,0.098614819347858,0.057409163564444,0.008306024596095,0.094621561467648,0.282546788454056,-0.036720134317875,-0.128518313169479,-0.000396707997425,-0.173673227429390,0.002116494579241) * MODEL5_texOff(vec2(-1,0));
res += mat4(-0.164539292454720,-0.036927331238985,0.079707249999046,-0.069769889116287,0.030973441898823,-0.073501586914063,0.039274103939533,0.016476107761264,0.082736395299435,-0.060170922428370,0.019054818898439,0.034906636923552,0.084454052150249,-0.039727389812469,-0.041752550750971,-0.015514031983912) * MODEL5_texOff(vec2(-1,1));
res += mat4(-0.034258864820004,-0.359748303890228,-0.263933926820755,-0.211444333195686,0.069162935018539,-0.084804683923721,-0.266736000776291,0.067388333380222,-0.023915350437164,0.031549643725157,-0.066697448492050,0.071026951074600,0.041093200445175,-0.022088618949056,-0.042270679026842,0.169383287429810) * MODEL5_texOff(vec2(0,-1));
res += mat4(0.139054119586945,0.078813597559929,-0.117084287106991,0.072662867605686,-0.037040356546640,-0.025107676163316,-0.225244313478470,0.189367964863777,0.051346287131310,0.028962519019842,-0.165649682283401,0.204747408628464,-0.057038590312004,-0.045341119170189,0.010293534956872,0.691594183444977) * MODEL5_texOff(vec2(0,0));
res += mat4(0.048699386417866,-0.015951203182340,-0.074403300881386,0.063464969396591,0.116310432553291,0.051656886935234,0.035758763551712,0.099600479006767,-0.763902068138123,-0.697683334350586,0.113008476793766,-0.041374944150448,0.036802634596825,0.041155360639095,-0.069747932255268,0.284108877182007) * MODEL5_texOff(vec2(0,1));
res += mat4(-0.026732195168734,0.046696268022060,0.046147681772709,-0.044432941824198,0.317143946886063,0.090373806655407,-0.012124868109822,-0.030678642913699,0.084546022117138,-0.060986302793026,-0.020040495321155,-0.062768906354904,0.069843634963036,-0.113856777548790,-0.014363648369908,-0.124859042465687) * MODEL5_texOff(vec2(1,-1));
res += mat4(-0.022991167381406,-0.014315025880933,0.052366293966770,0.045789703726768,-0.088609807193279,0.035137869417667,0.107488244771957,-0.056530922651291,0.040410201996565,-0.011398490518332,0.067230589687824,-0.102487646043301,0.081895567476749,0.028352677822113,0.027971930801868,0.393047958612442) * MODEL5_texOff(vec2(1,0));
res += mat4(-0.090309314429760,-0.038223955780268,0.023530557751656,0.023081896826625,0.066989235579967,-0.012342410162091,0.004929952323437,-0.050472974777222,-0.145346745848656,0.080731011927128,-0.022424509748816,-0.080681219696999,-0.041974678635597,0.055306348949671,0.055408369749784,-0.001499976264313) * MODEL5_texOff(vec2(1,1));
res += mat4(-0.085273981094360,-0.151213720440865,-0.155734121799469,-0.196234822273254,0.157229840755463,-0.031181566417217,0.152055963873863,-0.019198328256607,-0.200929373502731,0.262381464242935,-0.248931303620338,0.132901355624199,0.226456627249718,0.122145533561707,0.084115602076054,0.071459166705608) * MODEL6_texOff(vec2(-1,-1));
res += mat4(-0.478242218494415,-0.166455507278442,0.046535529196262,-0.260002940893173,0.047157134860754,-0.104996249079704,0.257620155811310,-0.073810644447803,-0.251710981130600,0.018566101789474,-0.046753201633692,0.132913917303085,-0.158636897802353,0.228620037436485,0.355865567922592,0.063515186309814) * MODEL6_texOff(vec2(-1,0));
res += mat4(0.035639788955450,0.071176193654537,-0.154232859611511,0.013783842325211,-0.147260650992393,-0.033923897892237,0.012770867906511,-0.012071306817234,-0.052116051316261,-0.153557047247887,0.277541011571884,-0.119058996438980,-0.245570957660675,0.044496588408947,-0.070197246968746,0.162637457251549) * MODEL6_texOff(vec2(-1,1));
res += mat4(-0.083636194467545,-0.028056781738997,0.004597495775670,-0.128134399652481,0.124151751399040,0.023613898083568,0.063235253095627,-0.041686885058880,0.023975156247616,0.219526678323746,-0.149829626083374,0.182469069957733,0.034035295248032,-0.060768399387598,0.037324048578739,0.042545404285192) * MODEL6_texOff(vec2(0,-1));
res += mat4(-0.067656606435776,-0.064148791134357,-0.060971051454544,-0.385994076728821,0.244360476732254,0.053375542163849,0.058579664677382,0.013790743425488,0.030371911823750,0.513988494873047,-0.126916974782944,0.290693163871765,-0.186987429857254,0.313149899244308,-0.145801126956940,0.342172354459763) * MODEL6_texOff(vec2(0,0));
res += mat4(-0.133878186345100,-0.027770137414336,0.029354382306337,0.091166034340858,0.056088097393513,-0.077905327081680,-0.116588458418846,-0.084674172103405,-0.211271166801453,-0.104061700403690,-0.047530744224787,0.265072673559189,-0.174136519432068,-0.043152511119843,0.028498664498329,0.154389917850494) * MODEL6_texOff(vec2(0,1));
res += mat4(0.012369779869914,0.050140365958214,-0.020897643640637,0.095924094319344,-0.025303006172180,-0.058428689837456,0.000806832918897,-0.081705644726753,-0.042240492999554,0.098152548074722,-0.115236200392246,0.090285517275333,-0.207285389304161,-0.015962239354849,-0.025229888036847,-0.050399944186211) * MODEL6_texOff(vec2(1,-1));
res += mat4(-0.129102766513824,0.006465533282608,0.013696852140129,0.175157591700554,0.012478564865887,-0.017182474955916,0.199923202395439,0.176476433873177,0.037464395165443,0.043514214456081,-0.174548730254173,0.141906797885895,0.083095058798790,-0.243981987237930,-0.220747351646423,-0.064373806118965) * MODEL6_texOff(vec2(1,0));
res += mat4(-0.147339835762978,0.026696424931288,-0.010920002125204,-0.029451405629516,0.218508929014206,0.037300240248442,-0.015294797718525,-0.119017317891121,0.073874428868294,-0.113053813576698,-0.030650684610009,-0.001803779159673,0.106957510113716,0.020149089396000,-0.016114179044962,0.032692763954401) * MODEL6_texOff(vec2(1,1));
res = max(res, vec4(0.0)) + vec4(-0.015401916578412,0.014757359400392,0.119421668350697,0.003694260958582) * min(res, vec4(0.0));
return res;
}

//!HOOK LUMA
//!WHEN OUTPUT.w LUMA.w 2.200 * > OUTPUT.h LUMA.h 2.200 * > *
//!COMPONENTS 4
//!BIND MODEL1
//!BIND MODEL2
//!BIND MODEL3
//!BIND MODEL4
//!BIND MODEL5
//!BIND MODEL6
//!SAVE MODEL12
//!DESC [AiUpscale_HQ_Sharp_3x_LineArt] mapping 2_6

vec4 hook()
{
vec4 res = vec4(-0.083418160676956,0.052829992026091,0.213421970605850,0.017307728528976);
res += mat4(-0.021606536582112,0.238251343369484,-0.021578926593065,0.148340553045273,-0.043499879539013,0.005534390453249,0.051111906766891,-0.129230290651321,-0.063490860164165,-0.041309542953968,-0.026032181456685,0.144736558198929,-0.124848946928978,-0.007384541910142,-0.119993634521961,-0.472792088985443) * MODEL1_texOff(vec2(-1,-1));
res += mat4(-0.199596107006073,-0.126621425151825,0.111980646848679,0.124218389391899,-0.005646712146699,-0.004894831217825,-0.019220355898142,0.067320056259632,-0.114190854132175,-0.010982758365571,0.189901828765869,-0.020873861387372,0.185815677046776,-0.132630571722984,-0.151737242937088,0.135532915592194) * MODEL1_texOff(vec2(-1,0));
res += mat4(-0.067128933966160,-0.254323422908783,0.047625113278627,-0.200553759932518,0.029507858678699,0.005000762175769,0.020597534254193,-0.120207063853741,0.114983163774014,0.028348758816719,0.087660789489746,0.034654863178730,-0.026452057063580,0.070973224937916,-0.374370694160461,0.229677587747574) * MODEL1_texOff(vec2(-1,1));
res += mat4(-0.148962169885635,0.844616413116455,0.013864988461137,-0.011339944787323,0.077216789126396,-0.050254378467798,0.113408140838146,-0.171314999461174,0.003469547955319,-0.022016525268555,0.169215261936188,0.135180905461311,-0.164122238755226,-0.511609673500061,0.133314549922943,-0.149906128644943) * MODEL1_texOff(vec2(0,-1));
res += mat4(-0.256598711013794,-0.424493253231049,0.145681545138359,0.082437701523304,0.141737446188927,0.043698769062757,0.057318162173033,0.209961533546448,0.413336157798767,-0.006378412712365,-0.060955919325352,0.290728747844696,-0.152540773153305,-0.135287418961525,-0.758839964866638,0.108379907906055) * MODEL1_texOff(vec2(0,0));
res += mat4(0.092472650110722,-0.369927555322647,-0.313429057598114,0.045573513954878,0.277673840522766,-0.133374571800232,0.005753672216088,-0.103322356939316,-0.024598857387900,0.058379042893648,-0.209658712148666,-0.144484415650368,-0.005019940901548,0.010363566689193,-0.392695873975754,0.072890549898148) * MODEL1_texOff(vec2(0,1));
res += mat4(-0.050617747008801,0.162436172366142,0.004861640278250,0.054939854890108,0.033427905291319,-0.184398114681244,0.085830532014370,-0.038173358887434,-0.056591335684061,-0.134272724390030,-0.064006358385086,-0.188655227422714,-0.008356880396605,-0.006784380879253,0.048593714833260,-0.025996830314398) * MODEL1_texOff(vec2(1,-1));
res += mat4(0.055731154978275,0.070857293903828,0.076201379299164,-0.083376936614513,-0.014270219020545,-0.124086573719978,-0.006283120252192,-0.087046027183533,0.204661235213280,-0.221170365810394,0.002345987362787,0.134542554616928,0.103870853781700,-0.013197827152908,-0.072299651801586,0.023169575259089) * MODEL1_texOff(vec2(1,0));
res += mat4(-0.061144948005676,-0.106210686266422,-0.016813319176435,0.119552575051785,0.012410677038133,-0.078144647181034,-0.047406435012817,-0.172444552183151,-0.041275944560766,0.056968759745359,-0.067257210612297,0.011529043316841,-0.059770833700895,0.036852285265923,-0.044205524027348,0.014952220022678) * MODEL1_texOff(vec2(1,1));
res += mat4(-0.024860959500074,0.022446358576417,-0.020505052059889,-0.038902003318071,0.102626033127308,-0.029567265883088,0.060896452516317,0.112982377409935,0.014446108601987,0.026689641177654,-0.016589289531112,0.046578202396631,0.027415730059147,0.096654087305069,0.044696576893330,-0.340581804513931) * MODEL2_texOff(vec2(-1,-1));
res += mat4(-0.082115955650806,0.012234083376825,-0.043062202632427,0.166952088475227,-0.000354616262484,0.013528875075281,0.081728354096413,-0.185501366853714,0.032139815390110,0.005914480891079,-0.038668736815453,-0.051846522837877,-0.112122505903244,0.148691415786743,0.108424440026283,0.025690274313092) * MODEL2_texOff(vec2(-1,0));
res += mat4(-0.076006203889847,-0.009224111214280,0.017337510362267,-0.008973037824035,-0.021228788420558,0.083919838070869,-0.118923939764500,0.218811184167862,-0.017589664086699,0.031053820624948,0.001475834287703,0.071317031979561,-0.123791202902794,0.014361372217536,0.115409679710865,0.028070408850908) * MODEL2_texOff(vec2(-1,1));
res += mat4(0.006025933194906,-0.089053265750408,0.035354953259230,0.078842684626579,0.069183200597763,-0.117900937795639,-0.238889500498772,-0.220618709921837,-0.039001438766718,0.183883339166641,0.081966236233711,-0.064574189484119,-0.047136560082436,-0.109703272581100,0.188459828495979,-0.025461807847023) * MODEL2_texOff(vec2(0,-1));
res += mat4(-0.049977127462626,0.120995573699474,-0.272200196981430,-0.033550634980202,-0.230862125754356,0.002913438947871,0.411382138729095,-0.125738888978958,-0.113617472350597,0.011022810824215,-0.005205966066569,0.029600558802485,0.215614750981331,0.185500636696815,-0.080896370112896,0.074889771640301) * MODEL2_texOff(vec2(0,0));
res += mat4(0.016875080764294,0.055904090404510,-0.014101632870734,0.128983050584793,0.191147133708000,0.009465181268752,0.019542301073670,0.330028325319290,0.260680764913559,0.055979259312153,-0.036512274295092,0.066112585365772,0.022918947041035,-0.036400053650141,-0.095131121575832,0.055583428591490) * MODEL2_texOff(vec2(0,1));
res += mat4(-0.091618895530701,-0.037740338593721,0.066923297941685,-0.130079105496407,0.020844789221883,-0.001001590746455,0.150265783071518,-0.167306110262871,0.110446572303772,-0.125696510076523,-0.018089067190886,-0.166090682148933,-0.052449740469456,0.058430362492800,0.006385132204741,-0.013466280885041) * MODEL2_texOff(vec2(1,-1));
res += mat4(-0.098150983452797,0.138779103755951,-0.261923313140869,0.190689817070961,0.194302126765251,-0.177228853106499,0.126406714320183,0.008951221592724,-0.035381194204092,0.071973957121372,0.031742095947266,0.120818436145782,-0.095912419259548,-0.134654000401497,-0.158578842878342,-0.098600290715694) * MODEL2_texOff(vec2(1,0));
res += mat4(-0.046439375728369,0.057080056518316,-0.141474112868309,0.084539234638214,0.058076769113541,-0.081641346216202,0.040505133569241,0.119867227971554,-0.137560248374939,-0.041878443211317,-0.088533595204353,0.018220921978354,-0.017631420865655,0.058445189148188,-0.029509758576751,-0.100341245532036) * MODEL2_texOff(vec2(1,1));
res += mat4(-0.137475624680519,-0.005885801743716,-0.010506111197174,0.011694569140673,-0.135989218950272,0.075030498206615,0.024344846606255,-0.080588392913342,0.100706666707993,-0.076249226927757,0.049360129982233,0.347796440124512,0.050133191049099,-0.010108060203493,-0.030003434047103,-0.048693142831326) * MODEL3_texOff(vec2(-1,-1));
res += mat4(-0.229710698127747,0.009325193241239,-0.153395205736160,-0.234331503510475,-0.052421841770411,-0.098357610404491,0.122612908482552,0.054737355560064,-0.078499034047127,-0.037366919219494,-0.077720932662487,-0.038018353283405,0.174160063266754,-0.068697094917297,-0.242342606186867,-0.159613564610481) * MODEL3_texOff(vec2(-1,0));
res += mat4(-0.018133837729692,0.032808605581522,0.111598461866379,0.166465461254120,0.068115033209324,0.192880809307098,-0.038686674088240,0.148701667785645,0.058451097458601,-0.057440266013145,0.230385348200798,0.015515055507421,-0.030372969806194,-0.066888660192490,-0.030496479943395,0.067931085824966) * MODEL3_texOff(vec2(-1,1));
res += mat4(0.020530130714178,0.003418045584112,-0.150068074464798,-0.165916606783867,0.037326723337173,-0.145896121859550,-0.075925171375275,0.191971451044083,0.060749385505915,-0.020589357241988,0.059200964868069,-0.089096285402775,0.046753101050854,-0.217718452215195,-0.106726206839085,-0.124606721103191) * MODEL3_texOff(vec2(0,-1));
res += mat4(0.167035803198814,-0.026255920529366,-0.198549583554268,-0.220336928963661,-0.065623931586742,-0.063108734786510,0.124453835189342,-0.262962341308594,-0.058787394315004,0.042837452143431,-0.017301494255662,-0.177078783512115,0.015003837645054,-0.058191180229187,-0.186120837926865,-0.022826943546534) * MODEL3_texOff(vec2(0,0));
res += mat4(0.130774661898613,-0.063693732023239,0.010831418447196,0.084829777479172,0.106680803000927,-0.070915639400482,-0.150290623307228,-0.212127372622490,-0.150214523077011,0.171755686402321,0.055230166763067,-0.161079421639442,0.148622602224350,-0.035067014396191,-0.048687517642975,0.148431137204170) * MODEL3_texOff(vec2(0,1));
res += mat4(0.064179979264736,-0.042485736310482,-0.083243198692799,-0.058606442064047,0.065452791750431,0.095421075820923,-0.038443334400654,0.148204743862152,0.085395880043507,-0.031271368265152,0.050172731280327,-0.053311407566071,-0.085679501295090,0.026559742167592,0.090443409979343,-0.031967449933290) * MODEL3_texOff(vec2(1,-1));
res += mat4(0.184875473380089,-0.014415610581636,-0.100030899047852,0.154890045523643,-0.032690387219191,-0.244046106934547,0.132826223969460,0.009032306261361,-0.315289974212646,0.019274748861790,0.066901311278343,-0.078376449644566,0.026184799149632,-0.203254789113998,0.246203660964966,-0.087676919996738) * MODEL3_texOff(vec2(1,0));
res += mat4(0.033043242990971,-0.149380475282669,0.006878683809191,-0.162516534328461,-0.054799813777208,0.186196044087410,-0.110041528940201,0.030500205233693,-0.113877892494202,0.246410652995110,0.065770037472248,0.047450553625822,-0.065269023180008,-0.154590666294098,0.027551352977753,-0.146685123443604) * MODEL3_texOff(vec2(1,1));
res += mat4(0.133346468210220,0.111275754868984,-0.062257520854473,-0.008225169032812,-0.094088055193424,-0.099152527749538,0.062830492854118,-0.155729010701180,-0.076937288045883,-0.125397965312004,-0.105240553617477,-0.163807258009911,-0.015400297939777,0.016798047348857,0.053429223597050,0.020190224051476) * MODEL4_texOff(vec2(-1,-1));
res += mat4(0.161429762840271,-0.052542120218277,0.149728894233704,0.061067055910826,-0.056303489953279,-0.079474814236164,-0.080907613039017,0.359377831220627,-0.010343578644097,0.045969795435667,-0.135407283902168,0.186799883842468,0.013145822100341,-0.079550996422768,-0.151859000325203,-0.078141570091248) * MODEL4_texOff(vec2(-1,0));
res += mat4(0.017941113561392,0.022358365356922,-0.052973277866840,0.001407499075867,0.076224304735661,-0.003537725424394,0.075550578534603,0.141690209507942,0.088787496089935,0.068828746676445,-0.115615054965019,0.123791545629501,0.062188554555178,0.019309608265758,0.041051533073187,0.058068811893463) * MODEL4_texOff(vec2(-1,1));
res += mat4(-0.200876504182816,-0.041197180747986,-0.064743332564831,-0.018324304372072,-0.063321284949780,-0.133235767483711,0.000535118917469,-0.084478892385960,0.000241558576818,0.031029619276524,0.032531186938286,-0.055395375937223,0.026086851954460,0.082868397235870,0.146584615111351,-0.052451740950346) * MODEL4_texOff(vec2(0,-1));
res += mat4(0.058634880930185,-0.106450848281384,-0.281761378049850,-0.132969975471497,0.009976068511605,-0.091101109981537,-0.152752548456192,0.059490289539099,-0.150642544031143,0.015359737910330,0.053113400936127,-0.010159595869482,0.052801758050919,-0.006998391356319,-0.209604993462563,0.027627324685454) * MODEL4_texOff(vec2(0,0));
res += mat4(0.034510720521212,0.065260127186775,0.100134141743183,0.128350913524628,0.110887691378593,0.014661611057818,0.067056931555271,-0.031046966090798,-0.031748872250319,0.055156625807285,0.310401767492294,0.069406218826771,0.048804447054863,-0.024591824039817,0.112124919891357,-0.094213023781776) * MODEL4_texOff(vec2(0,1));
res += mat4(-0.187027484178543,-0.146392449736595,-0.036452140659094,-0.274190127849579,-0.061369389295578,0.059183020144701,0.124490447342396,0.252056598663330,0.007501203566790,0.044515930116177,0.148225069046021,-0.029905553907156,-0.000468585785711,-0.335869014263153,-0.150413334369659,0.086641825735569) * MODEL4_texOff(vec2(1,-1));
res += mat4(-0.217689380049706,-0.048638794571161,0.273266047239304,-0.199154555797577,-0.068160660564899,-0.024279017001390,-0.086691550910473,0.108676023781300,-0.022134365513921,0.077723443508148,-0.188468664884567,0.044940393418074,-0.018478948622942,-0.041850604116917,-0.484405875205994,0.154192283749580) * MODEL4_texOff(vec2(1,0));
res += mat4(0.234375670552254,0.006496923975646,-0.034457646310329,0.062612049281597,-0.049505237489939,-0.050001800060272,0.015284521505237,-0.021968612447381,-0.259680092334747,-0.034535970538855,-0.024689752608538,-0.026086980476975,0.107818827033043,-0.061794664710760,-0.123468838632107,-0.045291475951672) * MODEL4_texOff(vec2(1,1));
res += mat4(0.037485100328922,-0.040105484426022,0.120485819876194,-0.013586033135653,0.111335888504982,0.085125945508480,0.027879763394594,0.121974430978298,-0.047820638865232,0.000137098541018,-0.044132821261883,-0.185358285903931,0.145463854074478,-0.044828232377768,-0.067805565893650,-0.086813472211361) * MODEL5_texOff(vec2(-1,-1));
res += mat4(0.057841971516609,0.079997844994068,-0.046734854578972,0.247441753745079,0.171409577131271,-0.086125239729881,-0.146098986268044,0.035109128803015,0.200215071439743,0.033764410763979,0.059734161943197,0.188487932085991,-0.069300696253777,0.046324357390404,0.011892493814230,-0.159761369228363) * MODEL5_texOff(vec2(-1,0));
res += mat4(-0.049379337579012,0.043640293180943,0.031596362590790,-0.092276722192764,0.187061131000519,-0.077326297760010,0.114147752523422,-0.082975886762142,-0.124829724431038,0.052289068698883,0.084310159087181,0.035645511001348,0.162642985582352,0.081195004284382,0.081475488841534,0.005956765264273) * MODEL5_texOff(vec2(-1,1));
res += mat4(-0.167449280619621,0.137870281934738,-0.102223016321659,-0.566384792327881,-0.205384328961372,-0.088338710367680,-0.019825126975775,-0.051411420106888,-0.058262225240469,0.036781109869480,0.060073655098677,0.090049579739571,-0.080919548869133,-0.292614191770554,-0.029557654634118,-0.106935955584049) * MODEL5_texOff(vec2(0,-1));
res += mat4(-0.157804578542709,-0.026027645915747,-0.193645849823952,-0.008773126639426,0.097919017076492,0.012727500870824,-0.027874957770109,-0.018759973347187,-0.022411812096834,-0.159184485673904,0.136892035603523,0.085938438773155,0.186141267418861,0.048924732953310,-0.336123049259186,0.120661564171314) * MODEL5_texOff(vec2(0,0));
res += mat4(-0.032133173197508,0.077786467969418,-0.012607612647116,-0.064621724188328,0.092682234942913,0.043547436594963,-0.176524370908737,0.218609765172005,-0.162067815661430,0.036386497318745,0.003393114078790,0.090636231005192,0.042044319212437,0.000504844414536,-0.174420461058617,0.074749961495399) * MODEL5_texOff(vec2(0,1));
res += mat4(0.044295787811279,0.061491072177887,0.047327317297459,-0.336854696273804,-0.138245746493340,-0.009286521933973,-0.010903047397733,-0.057807911187410,0.002266704570502,-0.233504250645638,0.069128379225731,-0.008314757607877,-0.037771120667458,0.065871655941010,-0.113809973001480,0.051482755690813) * MODEL5_texOff(vec2(1,-1));
res += mat4(-0.123450145125389,-0.104197539389133,-0.018293278291821,-0.052955958992243,-0.075801618397236,-0.058107119053602,-0.034061852842569,0.014220549724996,-0.045575171709061,-0.727737963199615,0.007150147575885,-0.138198330998421,-0.038588944822550,-0.024961832910776,0.017450656741858,-0.096299298107624) * MODEL5_texOff(vec2(1,0));
res += mat4(-0.044948358088732,-0.041195835918188,0.034130185842514,0.002146876184270,0.037246763706207,-0.137938141822815,-0.042195051908493,-0.288047373294830,0.122515425086021,-0.259949564933777,-0.043643768876791,-0.206033006310463,-0.033038605004549,0.019375028088689,0.033768404275179,-0.032011117786169) * MODEL5_texOff(vec2(1,1));
res += mat4(-0.237303629517555,0.122245617210865,-0.197812184691429,-0.120333798229694,0.018256282433867,-0.053274959325790,0.037777628749609,-0.041721105575562,-0.174814760684967,0.067014403641224,-0.044059660285711,-0.007772223092616,-0.007006584201008,-0.060189079493284,0.085548087954521,-0.249139323830605) * MODEL6_texOff(vec2(-1,-1));
res += mat4(-0.094806559383869,-0.028911205008626,0.015190983191133,-0.157239884138107,0.148413553833961,0.084365122020245,-0.001470128190704,0.062114037573338,-0.070429690182209,-0.040141809731722,-0.074990294873714,0.048526547849178,-0.039725363254547,0.017244737595320,-0.207528516650200,0.057389769703150) * MODEL6_texOff(vec2(-1,0));
res += mat4(-0.029483594000340,-0.096667230129242,-0.186235427856445,0.125639989972115,-0.063982456922531,-0.003808473469689,0.022558150812984,-0.153586432337761,0.129595339298248,0.010245109908283,0.037984762340784,-0.118426367640495,0.224015846848488,-0.061989985406399,-0.022255366668105,-0.064534358680248) * MODEL6_texOff(vec2(-1,1));
res += mat4(-0.198720663785934,0.005901088472456,-0.065354332327843,-0.256250977516174,-0.106116190552711,-0.037912413477898,0.045534964650869,0.088115386664867,-0.338597387075424,-0.080466412007809,-0.254734963178635,-0.078013122081757,0.082032859325409,0.133992031216621,0.111265756189823,-0.042593371123075) * MODEL6_texOff(vec2(0,-1));
res += mat4(-0.111642964184284,0.178375959396362,-0.322273701429367,0.063320174813271,-0.038370326161385,0.045120161026716,-0.033853672444820,-0.367631345987320,-0.225252807140350,-0.080880366265774,0.009737800806761,0.008409510366619,-0.350884884595871,-0.135115534067154,0.182083740830421,-0.014459064230323) * MODEL6_texOff(vec2(0,0));
res += mat4(0.034569304436445,-0.149113878607750,0.047499809414148,0.144913628697395,-0.063277378678322,0.169163838028908,0.088567838072777,-0.119584225118160,-0.196631103754044,-0.015698259696364,-0.052127540111542,0.070769511163235,0.196970269083977,-0.178529843688011,0.080626748502254,-0.076337292790413) * MODEL6_texOff(vec2(0,1));
res += mat4(-0.044228307902813,-0.208731904625893,-0.164140567183495,0.038658864796162,0.024448825046420,-0.013491746038198,0.115343622863293,-0.071395732462406,-0.173809483647346,0.333727180957794,0.173416748642921,0.041374508291483,0.093165718019009,0.398903369903564,0.051148083060980,-0.060017816722393) * MODEL6_texOff(vec2(1,-1));
res += mat4(-0.030832022428513,0.036029655486345,-0.021055111661553,0.087773822247982,-0.014991722069681,0.255606710910797,0.027030596509576,-0.381203114986420,-0.273950278759003,-0.268077969551086,0.007832909934223,-0.089152336120605,-0.105916835367680,-0.214355692267418,-0.014407283626497,0.050710417330265) * MODEL6_texOff(vec2(1,0));
res += mat4(-0.029760723933578,-0.136651411652565,-0.130304887890816,0.032527752220631,0.114772580564022,0.123276509344578,-0.055971607565880,0.009176769293845,-0.073374718427658,0.184014275670052,0.039416264742613,-0.084481388330460,0.226756304502487,-0.206449806690216,-0.224937319755554,0.127611324191093) * MODEL6_texOff(vec2(1,1));
res = max(res, vec4(0.0)) + vec4(0.296257197856903,-0.000683816208038,0.095912799239159,0.050087027251720) * min(res, vec4(0.0));
return res;
}

//!HOOK LUMA
//!WHEN OUTPUT.w LUMA.w 2.200 * > OUTPUT.h LUMA.h 2.200 * > *
//!COMPONENTS 4
//!BIND MODEL7
//!BIND MODEL8
//!BIND MODEL9
//!BIND MODEL10
//!BIND MODEL11
//!BIND MODEL12
//!SAVE MODEL1
//!DESC [AiUpscale_HQ_Sharp_3x_LineArt] mapping 3_1

vec4 hook()
{
vec4 res = vec4(-0.076306298375130,-0.080910518765450,0.239804059267044,0.005164223257452);
res += mat4(0.114175871014595,-0.101690150797367,-0.010749431326985,-0.036674372851849,-0.113261580467224,0.021257121115923,-0.100273683667183,-0.061388205736876,-0.041932638734579,-0.063428439199924,-0.213756725192070,-0.139793530106544,-0.068320922553539,-0.048763591796160,-0.167448967695236,-0.142165914177895) * MODEL7_texOff(vec2(-1,-1));
res += mat4(0.123935736715794,0.012712989933789,0.179831206798553,0.007259897887707,-0.019671160727739,-0.026158895343542,-0.080397784709930,-0.069286480545998,0.093226365745068,0.024952195584774,-0.000141722659464,-0.031005529686809,-0.041558224707842,-0.032785408198833,-0.320396631956100,-0.036526232957840) * MODEL7_texOff(vec2(-1,0));
res += mat4(-0.030239885672927,-0.074790745973587,0.072241120040417,0.019857605919242,0.018013056367636,-0.027769349515438,0.057950470596552,0.010281695052981,0.156273841857910,-0.015381379052997,0.088950470089912,0.012082983739674,-0.093213543295860,-0.011275514028966,0.006673184223473,-0.074466928839684) * MODEL7_texOff(vec2(-1,1));
res += mat4(0.080641850829124,-0.004863154608756,0.060212861746550,0.257704555988312,-0.030948203057051,-0.023877663537860,-0.243768334388733,0.098405450582504,0.116553582251072,0.028249502182007,0.224137097597122,-0.037234835326672,0.136156499385834,-0.059884805232286,0.027851883322001,-0.107829235494137) * MODEL7_texOff(vec2(0,-1));
res += mat4(-0.034186482429504,-0.199408501386642,0.086508989334106,-0.013818051666021,0.022813616320491,0.236669719219208,-0.230297699570656,0.110122494399548,-0.136889770627022,0.369024723768234,-0.187269434332848,-0.067626684904099,0.415849000215530,-0.111457943916321,-0.182176291942596,-0.290019661188126) * MODEL7_texOff(vec2(0,0));
res += mat4(-0.023325981572270,0.127386450767517,0.067515552043915,0.046570241451263,-0.068384647369385,-0.060374006628990,-0.208255782723427,0.011103847995400,0.040321387350559,-0.215995371341705,0.082874968647957,-0.105121068656445,-0.049073617905378,0.028220260515809,-0.053839605301619,0.158206716179848) * MODEL7_texOff(vec2(0,1));
res += mat4(-0.053909178823233,0.013762819580734,0.061096832156181,0.187943905591965,0.042855903506279,0.157491490244865,-0.294193863868713,-0.381474226713181,-0.061209090054035,0.032025739550591,0.166661396622658,0.223801329731941,-0.026965558528900,0.029855236411095,0.055784653872252,0.056549593806267) * MODEL7_texOff(vec2(1,-1));
res += mat4(-0.103754766285419,-0.036820765584707,0.026203084737062,0.047351796180010,0.049618002027273,0.076172672212124,-0.074242062866688,-0.009995529428124,-0.078592874109745,-0.202056780457497,0.097894288599491,0.030397031456232,-0.020172806456685,-0.082873441278934,0.003116206964478,-0.079195179045200) * MODEL7_texOff(vec2(1,0));
res += mat4(-0.077267564833164,-0.031469456851482,-0.005440277978778,-0.057243835180998,-0.142887860536575,-0.006501269061118,-0.054671324789524,-0.041711468249559,-0.020383024588227,-0.069041475653648,0.024948805570602,0.009705379605293,-0.014134947210550,-0.079074606299400,0.000244133174419,-0.128752082586288) * MODEL7_texOff(vec2(1,1));
res += mat4(-0.049983520060778,-0.084988899528980,-0.178177833557129,-0.055405940860510,-0.156753316521645,0.107481852173805,-0.022547220811248,0.020629942417145,-0.140124320983887,-0.000217513312236,0.014357964508235,0.018709683790803,-0.034012656658888,0.015365827828646,-0.108200989663601,-0.020939560607076) * MODEL8_texOff(vec2(-1,-1));
res += mat4(0.064130999147892,-0.105434119701385,0.105388872325420,0.002093772869557,-0.060649916529655,-0.022150473669171,0.225629135966301,0.167725220322609,-0.100727133452892,-0.103412196040154,0.064466223120689,-0.130849033594131,0.097086355090141,-0.203019648790359,0.096775665879250,0.123469352722168) * MODEL8_texOff(vec2(-1,0));
res += mat4(0.065135933458805,-0.060244709253311,0.250008910894394,-0.045059453696012,0.028216579928994,-0.093119345605373,-0.041626837104559,-0.021246837452054,0.009308290667832,-0.051994595676661,0.074312604963779,0.018075441941619,0.070364996790886,-0.085542947053909,-0.020087702199817,-0.024064606055617) * MODEL8_texOff(vec2(-1,1));
res += mat4(0.123565107584000,-0.039606925100088,-0.005394030362368,0.053020358085632,-0.044798195362091,0.198784977197647,-0.129307910799980,-0.130846992135048,-0.037231545895338,0.034045636653900,0.241879746317863,0.078883580863476,-0.101928494870663,0.069411270320415,-0.144510224461555,0.022528469562531) * MODEL8_texOff(vec2(0,-1));
res += mat4(-0.271692037582397,-0.055013928562403,-0.053619619458914,0.382416933774948,-0.062389072030783,-0.319421112537384,0.165310323238373,0.050131984055042,0.017077714204788,0.156361803412437,0.005419310647994,-0.205862909555435,-0.644398987293243,0.244241252541542,-0.067515298724174,0.162716418504715) * MODEL8_texOff(vec2(0,0));
res += mat4(0.051396217197180,-0.130977213382721,0.287995845079422,-0.051614861935377,-0.011452290229499,0.030532583594322,-0.163069278001785,-0.087897695600986,0.031892199069262,-0.056639555841684,0.019183456897736,-0.004693279974163,0.047045681625605,-0.174341678619385,0.043159022927284,0.037711482495070) * MODEL8_texOff(vec2(0,1));
res += mat4(0.070370823144913,-0.044809557497501,0.121864363551140,0.032062120735645,0.077649518847466,-0.063917458057404,0.046599905937910,-0.204325452446938,0.075137697160244,0.167551890015602,-0.031332112848759,0.023647528141737,0.058854196220636,-0.125427767634392,0.061504885554314,-0.132243722677231) * MODEL8_texOff(vec2(1,-1));
res += mat4(0.002996929455549,-0.124851480126381,0.185234054923058,-0.284072786569595,0.025472261011600,0.078306823968887,-0.057197146117687,0.289149284362793,-0.028671212494373,0.358725309371948,0.041615869849920,0.287435024976730,-0.061838291585445,0.094109423458576,0.147206991910934,-0.128437012434006) * MODEL8_texOff(vec2(1,0));
res += mat4(-0.043103639036417,0.124431774020195,-0.054732814431190,-0.034180596470833,-0.016454840078950,0.062439549714327,-0.107263140380383,0.016498608514667,0.048483535647392,-0.036393344402313,-0.054699290543795,-0.015831703320146,0.021393712610006,-0.153534591197968,0.036776669323444,-0.032338242977858) * MODEL8_texOff(vec2(1,1));
res += mat4(0.001805998152122,-0.068874470889568,0.036500550806522,-0.070789426565170,-0.057304974645376,0.034479092806578,0.188822463154793,-0.159028813242912,-0.054126068949699,-0.099259436130524,0.010889427736402,-0.068219169974327,-0.065836869180202,-0.094096802175045,-0.365555614233017,-0.025848478078842) * MODEL9_texOff(vec2(-1,-1));
res += mat4(0.163355991244316,0.032939232885838,-0.131988689303398,-0.056727278977633,0.148484453558922,0.000885342131369,0.063716888427734,-0.166862830519676,0.095315411686897,-0.096869565546513,0.018364815041423,-0.086555644869804,-0.088250108063221,-0.023003695532680,-0.506040215492249,0.126773148775101) * MODEL9_texOff(vec2(-1,0));
res += mat4(-0.033396366983652,0.013239339925349,-0.044303178787231,0.098288618028164,0.067810215055943,0.021873295307159,-0.038615416735411,-0.014715635217726,-0.022909374907613,0.065540350973606,-0.010897656902671,0.055769570171833,0.018940931186080,-0.029909050092101,-0.197034657001495,-0.056722581386566) * MODEL9_texOff(vec2(-1,1));
res += mat4(-0.114042438566685,0.053884595632553,-0.104842901229858,0.043659523129463,-0.189720496535301,-0.022465860471129,0.019999533891678,-0.068863481283188,0.112408876419067,-0.040835369378328,0.056600429117680,0.071049243211746,0.015226914547384,-0.114912003278732,-0.593457043170929,-0.145198628306389) * MODEL9_texOff(vec2(0,-1));
res += mat4(-0.143421113491058,0.024390606209636,0.046148918569088,0.398453146219254,-0.011701508425176,0.218529373407364,0.030808156356215,-0.019128363579512,-0.268636137247086,0.166520893573761,0.111835293471813,0.243766874074936,0.023675922304392,-0.185100883245468,-0.667722880840302,0.074612006545067) * MODEL9_texOff(vec2(0,0));
res += mat4(0.101214736700058,0.117189437150955,0.067366540431976,0.287214636802673,0.009863278828561,0.010906903073192,0.056911200284958,0.160341620445251,-0.050183296203613,0.123786635696888,0.017341401427984,0.151136264204979,0.043783266097307,0.046925168484449,-0.258704841136932,-0.007653470616788) * MODEL9_texOff(vec2(0,1));
res += mat4(0.028672726824880,0.010579486377537,0.024511232972145,-0.008971642702818,-0.086768902838230,-0.025706123560667,-0.087891317903996,-0.032299268990755,0.030593803152442,0.053998824208975,-0.071609310805798,0.139607071876526,0.028803788125515,0.000485891301651,-0.413192838430405,-0.000108974360046) * MODEL9_texOff(vec2(1,-1));
res += mat4(0.121433451771736,-0.134960442781448,-0.045234099030495,-0.015559785068035,-0.064472004771233,-0.110448889434338,0.133249491453171,0.282612562179565,-0.136431172490120,-0.031128538772464,-0.040102917701006,-0.011189400218427,-0.034738436341286,-0.128272935748100,-0.496238917112350,-0.068679839372635) * MODEL9_texOff(vec2(1,0));
res += mat4(-0.045811157673597,-0.049202341586351,0.089426167309284,-0.061550974845886,0.086571857333183,-0.104231290519238,0.032900039106607,0.172365546226501,0.055369772017002,-0.126613825559616,-0.067210406064987,-0.169852435588837,0.002195019507781,-0.043575990945101,-0.219945773482323,0.047679897397757) * MODEL9_texOff(vec2(1,1));
res += mat4(0.056758064776659,0.142321273684502,0.144809380173683,0.124344952404499,0.091933086514473,0.146532580256462,0.208676412701607,-0.112449809908867,0.075415670871735,0.033735331147909,0.120255351066589,0.075807705521584,-0.053640741854906,0.127196460962296,0.072271205484867,0.043837923556566) * MODEL10_texOff(vec2(-1,-1));
res += mat4(-0.018006918951869,-0.053873311728239,0.112992607057095,0.082607448101044,0.027911286801100,0.062706813216209,-0.037995133548975,-0.035441651940346,-0.047443505376577,0.030348816886544,-0.024203475564718,-0.042832564562559,0.080607518553734,0.059261810034513,-0.041216593235731,0.141101270914078) * MODEL10_texOff(vec2(-1,0));
res += mat4(0.017493739724159,-0.008534836582839,-0.150054186582565,0.032395754009485,0.026792818680406,0.016526015475392,0.052660133689642,0.057078219950199,-0.029814574867487,-0.013464431278408,0.031323347240686,-0.073897346854210,-0.025607062503695,-0.032896894961596,0.053633261471987,0.175378426909447) * MODEL10_texOff(vec2(-1,1));
res += mat4(-0.103538222610950,-0.102095156908035,-0.092716552317142,-0.330501198768616,-0.128546789288521,0.021322080865502,0.005633821710944,0.008100674487650,0.161718592047691,0.195131763815880,0.172390699386597,0.165528878569603,0.069870002567768,0.078466847538948,0.050620626658201,-0.005614488385618) * MODEL10_texOff(vec2(0,-1));
res += mat4(0.211331233382225,-0.211963549256325,-0.011459462344646,-0.117774479091167,0.104774318635464,-0.032037079334259,-0.173688635230064,-0.111195661127567,0.098726533353329,-0.031368348747492,0.275900661945343,0.116329193115234,0.026138026267290,0.039536062628031,-0.137298434972763,0.088476859033108) * MODEL10_texOff(vec2(0,0));
res += mat4(-0.002603253582492,-0.089267015457153,-0.074894808232784,0.135457843542099,0.091895818710327,0.037947859615088,0.012347321957350,-0.041240766644478,0.008865672163665,-0.003524490632117,-0.058277867734432,0.180579990148544,0.045288331806660,-0.045473892241716,0.006525882985443,-0.148428678512573) * MODEL10_texOff(vec2(0,1));
res += mat4(-0.062877394258976,-0.093770407140255,-0.008401527069509,-0.139436438679695,0.020071230828762,-0.146211698651314,0.052057996392250,0.149866461753845,0.058962747454643,0.083959497511387,0.055155560374260,-0.045956701040268,0.015939310193062,0.111467696726322,-0.067889891564846,-0.069117255508900) * MODEL10_texOff(vec2(1,-1));
res += mat4(-0.134281605482101,-0.136200457811356,-0.026356199756265,-0.101662971079350,0.004134423565120,0.019050786271691,-0.008473568595946,-0.005854798480868,0.024234747514129,0.130587249994278,0.029319059103727,-0.058651998639107,0.004422466736287,0.084889218211174,0.006155201233923,0.278504520654678) * MODEL10_texOff(vec2(1,0));
res += mat4(-0.018246253952384,0.054339088499546,-0.009595541283488,-0.005672043189406,-0.074829719960690,0.001573936315253,-0.082055836915970,-0.081655278801918,0.012934994883835,-0.013555754907429,0.076436720788479,-0.049225021153688,-0.001633627689444,0.032628308981657,0.020321279764175,0.202092602849007) * MODEL10_texOff(vec2(1,1));
res += mat4(0.105030670762062,0.034232988953590,-0.144969269633293,-0.107824437320232,-0.066904708743095,-0.150869950652122,-0.017868734896183,0.005763772875071,-0.081523425877094,-0.051545068621635,0.033417291939259,0.016561424359679,0.350991547107697,-0.049318239092827,-0.026410037651658,0.152002409100533) * MODEL11_texOff(vec2(-1,-1));
res += mat4(0.077228225767612,0.007201869972050,-0.137107923626900,0.087954342365265,0.087899610400200,-0.182693496346474,0.029677007347345,-0.237719729542732,0.038881279528141,0.012670849449933,0.024630315601826,0.090301215648651,0.266066819429398,0.058132417500019,0.169732168316841,0.077326864004135) * MODEL11_texOff(vec2(-1,0));
res += mat4(0.008843113668263,0.094561688601971,0.024973677471280,-0.013345398008823,0.034608796238899,-0.052827090024948,0.074125766754150,-0.108208961784840,0.039455588907003,-0.001095496350899,0.039359778165817,0.068069264292717,0.045105569064617,0.065249182283878,-0.144437775015831,0.200630739331245) * MODEL11_texOff(vec2(-1,1));
res += mat4(0.151261910796165,0.030711812898517,-0.528306424617767,0.100314006209373,0.005436851177365,0.063844569027424,0.216179043054581,0.051239594817162,0.075294457376003,0.007557698059827,0.099269844591618,0.033209677785635,0.189476653933525,0.199251264333725,0.037869803607464,-0.185829102993011) * MODEL11_texOff(vec2(0,-1));
res += mat4(0.018180979415774,0.003126018214971,-0.177784413099289,-0.117907680571079,-0.030266068875790,0.334361612796783,-0.037813372910023,-0.149028852581978,-0.083455890417099,-0.102351017296314,0.162592351436615,0.075565896928310,-0.306711167097092,0.472386330366135,0.014255695044994,-0.011685219593346) * MODEL11_texOff(vec2(0,0));
res += mat4(0.086007565259933,-0.048937700688839,-0.083535715937614,-0.073697559535503,0.026271907612681,0.060753442347050,-0.121162258088589,-0.068821951746941,-0.052567359060049,-0.029064321890473,0.150857657194138,0.026834944263101,0.053006496280432,-0.218795061111450,-0.095325075089931,-0.041426416486502) * MODEL11_texOff(vec2(0,1));
res += mat4(0.070189505815506,0.028027029708028,-0.466706007719040,-0.279153406620026,-0.079741686582565,0.115142591297626,0.048723947256804,0.250133246183395,-0.015165115706623,0.048522423952818,0.101190932095051,-0.027121016755700,0.003873969428241,0.037190768867731,0.138753995299339,0.051759071648121) * MODEL11_texOff(vec2(1,-1));
res += mat4(0.037991005927324,0.039353784173727,-0.274776577949524,-0.009062818251550,-0.020759159699082,0.227748334407806,-0.195547372102737,-0.052752073854208,0.195352569222450,-0.152032852172852,0.194753915071487,-0.247665151953697,0.159557908773422,-0.006886933464557,-0.077560916543007,0.024364095181227) * MODEL11_texOff(vec2(1,0));
res += mat4(0.047402232885361,-0.029486758634448,-0.238564729690552,-0.155302226543427,0.086520373821259,0.084472171962261,0.057212922722101,0.261853069067001,-0.071187950670719,-0.137643828988075,-0.122699826955795,-0.178889259696007,0.009301674552262,0.019842606037855,0.015982916578650,-0.141638115048409) * MODEL11_texOff(vec2(1,1));
res += mat4(0.135713532567024,-0.091706544160843,-0.035724893212318,-0.000987010193057,-0.044685997068882,0.068380489945412,-0.087859258055687,-0.050295855849981,-0.017324965447187,0.135962739586830,-0.051888335496187,0.201794564723969,0.022683955729008,0.018488941714168,0.191500991582870,0.072908744215965) * MODEL12_texOff(vec2(-1,-1));
res += mat4(0.059999372810125,-0.260097742080688,-0.091548845171928,-0.188996523618698,0.058772951364517,0.028844032436609,0.112464986741543,0.073742598295212,0.020093483850360,-0.068424038589001,0.013129291124642,-0.115543790161610,-0.084124229848385,-0.057061612606049,0.079256318509579,-0.006995066534728) * MODEL12_texOff(vec2(-1,0));
res += mat4(0.051108341664076,0.032191958278418,-0.040827136486769,0.096014887094498,0.027881499379873,0.142095506191254,-0.079644516110420,-0.160180687904358,-0.015617185272276,-0.009340367279947,0.209117427468300,-0.091785788536072,-0.052682366222143,-0.043332573026419,0.038660433143377,0.007320369128138) * MODEL12_texOff(vec2(-1,1));
res += mat4(-0.012708332389593,0.011409977450967,-0.031449589878321,0.048065721988678,-0.061635456979275,0.040242291986942,-0.176696807146072,-0.230649352073669,0.050055220723152,0.009095948189497,0.119279816746712,-0.412333577871323,-0.054442621767521,-0.056241601705551,-0.044687476009130,-0.049550682306290) * MODEL12_texOff(vec2(0,-1));
res += mat4(-0.129322186112404,-0.326997905969620,-0.008243458345532,0.031017450615764,0.041797649115324,-0.132643908262253,-0.171907052397728,0.216764032840729,0.133689120411873,0.102497443556786,-0.218423411250114,-0.539350628852844,-0.042194087058306,-0.139594092965126,0.103904940187931,-0.119234435260296) * MODEL12_texOff(vec2(0,0));
res += mat4(0.062196072191000,0.005705191753805,-0.131002917885780,-0.010254431515932,-0.022584730759263,-0.134627923369408,-0.094510406255722,-0.185270905494690,0.041519660502672,0.049051523208618,0.201172545552254,-0.148054257035255,-0.021396795287728,-0.091599702835083,0.105278000235558,0.016560705378652) * MODEL12_texOff(vec2(0,1));
res += mat4(-0.055381629616022,0.045446846634150,-0.236946776509285,-0.030027935281396,0.021919447928667,-0.049880124628544,-0.048624709248543,-0.091368652880192,0.016238754615188,-0.051783084869385,0.066107138991356,-0.089353881776333,0.010217186063528,0.011219126172364,0.078076466917992,-0.059310752898455) * MODEL12_texOff(vec2(1,-1));
res += mat4(0.036552857607603,-0.132755219936371,-0.059253964573145,0.071467727422714,-0.051850739866495,-0.006427065003663,-0.099170006811619,-0.114731624722481,-0.040147546678782,-0.013257077895105,-0.038418501615524,0.163974955677986,-0.126941218972206,0.190180137753487,0.232254296541214,0.184804633259773) * MODEL12_texOff(vec2(1,0));
res += mat4(-0.029262170195580,0.013329561799765,0.058821309357882,0.083816237747669,-0.066880069673061,0.044633217155933,-0.256596088409424,0.171054467558861,0.001401570392773,-0.027979375794530,-0.131921008229256,0.267497420310974,-0.070862613618374,-0.063907876610756,-0.020787015557289,0.054578419774771) * MODEL12_texOff(vec2(1,1));
res = max(res, vec4(0.0)) + vec4(0.202905744314194,0.528048634529114,0.023295151069760,0.093887999653816) * min(res, vec4(0.0));
return res;
}

//!HOOK LUMA
//!WHEN OUTPUT.w LUMA.w 2.200 * > OUTPUT.h LUMA.h 2.200 * > *
//!COMPONENTS 4
//!BIND MODEL7
//!BIND MODEL8
//!BIND MODEL9
//!BIND MODEL10
//!BIND MODEL11
//!BIND MODEL12
//!SAVE MODEL2
//!DESC [AiUpscale_HQ_Sharp_3x_LineArt] mapping 3_2

vec4 hook()
{
vec4 res = vec4(0.013644943013787,0.166763037443161,-0.052784550935030,-0.271702557802200);
res += mat4(-0.038416132330894,0.292160958051682,0.344736933708191,0.283919185400009,0.101545989513397,-0.104397960007191,-0.224135786294937,-0.242913618683815,-0.042734377086163,0.135702073574066,0.091116108000278,-0.390110850334167,-0.139337480068207,-0.070218026638031,-0.180304095149040,0.064362518489361) * MODEL7_texOff(vec2(-1,-1));
res += mat4(-0.158723980188370,0.092853389680386,0.180091276764870,0.398642331361771,0.323081672191620,-0.206284582614899,-0.133630350232124,0.336585253477097,-0.007541410159320,0.115212745964527,0.186301007866859,0.201694130897522,-0.228392153978348,-0.023439627140760,-0.131388828158379,-0.285987198352814) * MODEL7_texOff(vec2(-1,0));
res += mat4(-0.055292334407568,0.129318937659264,0.053060621023178,-0.057025928050280,-0.132204011082649,-0.012737583369017,-0.064027003943920,-0.041007179766893,-0.053420267999172,-0.074391908943653,0.068877570331097,0.209926202893257,-0.152433231472969,0.088892288506031,0.022649878636003,0.120246730744839) * MODEL7_texOff(vec2(-1,1));
res += mat4(0.155514121055603,0.114647790789604,-0.032580468803644,0.107239432632923,0.127865865826607,-0.300062239170074,-0.183681279420853,0.106204293668270,-0.028015268966556,0.023967418819666,-0.105812706053257,0.180300742387772,-0.357843250036240,-0.151087656617165,-0.027565110474825,-0.183621600270271) * MODEL7_texOff(vec2(0,-1));
res += mat4(0.080509051680565,-0.074269652366638,0.027064798399806,0.048486992716789,-0.219666615128517,-0.201247930526733,0.151045396924019,-0.122428543865681,0.136412829160690,-0.227943420410156,0.014381622895598,0.064617604017258,0.149401813745499,0.105797886848450,0.178053885698318,-0.147304490208626) * MODEL7_texOff(vec2(0,0));
res += mat4(0.020213972777128,-0.062333848327398,-0.120946362614632,-0.042800527065992,0.233283475041389,-0.133984431624413,0.043005261570215,-0.142588257789612,-0.114084720611572,0.078682556748390,-0.055068761110306,0.000174343600520,0.020037002861500,-0.105017751455307,0.172567218542099,-0.138767912983894) * MODEL7_texOff(vec2(0,1));
res += mat4(-0.117488332092762,-0.101631388068199,0.229287996888161,0.140302672982216,0.022567348554730,-0.071404986083508,0.188342720270157,0.012892321683466,0.236664891242981,-0.117276966571808,-0.146407514810562,-0.012138272635639,0.076759375631809,-0.130017116665840,0.013454247266054,0.115361638367176) * MODEL7_texOff(vec2(1,-1));
res += mat4(0.043103989213705,0.036865677684546,-0.024995336309075,-0.025422537699342,-0.028711324557662,-0.022041080519557,0.096012555062771,-0.204105004668236,-0.057424150407314,0.103058792650700,-0.024035412818193,0.006388308946043,-0.057194076478481,-0.077702037990093,-0.109484039247036,-0.239106118679047) * MODEL7_texOff(vec2(1,0));
res += mat4(0.053946964442730,0.005445332732052,-0.151453837752342,-0.188881590962410,0.101945422589779,0.088994771242142,0.058624885976315,-0.166039228439331,-0.106481201946735,-0.137216910719872,0.088187299668789,0.093945235013962,0.072546750307083,0.005811980459839,0.054637134075165,-0.096635721623898) * MODEL7_texOff(vec2(1,1));
res += mat4(0.035647250711918,0.073280788958073,-0.073406606912613,-0.175592035055161,0.165175616741180,-0.070570223033428,-0.052365444600582,0.321500331163406,0.095122128725052,-0.025465697050095,-0.029620021581650,-0.110682904720306,0.020180320367217,-0.076199412345886,-0.080331414937973,0.060207471251488) * MODEL8_texOff(vec2(-1,-1));
res += mat4(-0.227592304348946,0.059663504362106,-0.020607618615031,-0.030745297670364,0.314186543226242,0.097710527479649,-0.118356019258499,-0.211038738489151,-0.068057127296925,-0.191047728061676,0.085789829492569,0.203971132636070,-0.134498625993729,-0.050264302641153,-0.033568467944860,0.114129990339279) * MODEL8_texOff(vec2(-1,0));
res += mat4(0.176086917519569,0.089854605495930,-0.087979868054390,-0.244679853320122,-0.034674763679504,0.065399207174778,-0.114035442471504,-0.209759697318077,-0.088626258075237,-0.146403342485428,0.096642792224884,0.045739319175482,-0.060459405183792,0.050092972815037,0.072909355163574,-0.168822526931763) * MODEL8_texOff(vec2(-1,1));
res += mat4(-0.045950844883919,0.191529467701912,0.041383247822523,0.392074882984161,0.064783409237862,-0.241174086928368,-0.096262566745281,0.195950433611870,0.102529630064964,-0.182018294930458,-0.224748283624649,0.111949525773525,-0.006653908640146,-0.158098816871643,-0.245336472988129,-0.260166078805923) * MODEL8_texOff(vec2(0,-1));
res += mat4(0.182085365056992,-0.283481240272522,-0.088561452925205,-0.185352727770805,-0.408771574497223,0.003813973395154,-0.054857812821865,0.115789465606213,0.247334584593773,-0.187067016959190,0.023514857515693,0.327260136604309,0.208788588643074,-0.337561964988708,0.131767779588699,0.075695939362049) * MODEL8_texOff(vec2(0,0));
res += mat4(-0.163508847355843,0.002580050379038,0.180098026990891,0.101862616837025,0.090735860168934,-0.216899156570435,-0.054028376936913,-0.292155504226685,0.256543725728989,-0.267868936061859,0.028013847768307,-0.023942340165377,-0.207024410367012,-0.093556053936481,0.237384781241417,0.109345480799675) * MODEL8_texOff(vec2(0,1));
res += mat4(0.030764644965529,0.110503263771534,-0.123565882444382,0.092043995857239,-0.013679745607078,-0.068619571626186,-0.026211019605398,-0.004759455099702,0.273922950029373,-0.028037525713444,-0.165461674332619,-0.005386678967625,-0.059235904365778,-0.067938357591629,0.094870857894421,-0.107704877853394) * MODEL8_texOff(vec2(1,-1));
res += mat4(-0.064219631254673,-0.051441121846437,-0.202933534979820,-0.076550818979740,0.084972992539406,-0.188261166214943,0.018292924389243,-0.169278457760811,-0.225083217024803,-0.421988874673843,-0.060860726982355,0.009700341150165,0.039226341992617,0.079932011663914,0.022046230733395,-0.067947730422020) * MODEL8_texOff(vec2(1,0));
res += mat4(0.076360926032066,-0.105580270290375,0.007742252200842,-0.021556790918112,0.033082183450460,-0.036814291030169,0.042038764804602,0.041257657110691,-0.141324520111084,0.136389404535294,0.003326773876324,0.294856607913971,0.083698384463787,-0.141428828239441,0.068703629076481,-0.119394764304161) * MODEL8_texOff(vec2(1,1));
res += mat4(0.000746070814785,0.077909462153912,-0.086346648633480,-0.007496361620724,0.035431630909443,-0.004500361159444,-0.014052735641599,0.115178935229778,0.151553645730019,-0.051427237689495,-0.095870107412338,-0.190614670515060,-0.016731148585677,-0.246223062276840,0.039091572165489,-0.001450551790185) * MODEL9_texOff(vec2(-1,-1));
res += mat4(-0.236494794487953,0.168007522821426,-0.072878532111645,-0.013756571337581,-0.014151575975120,-0.179041698575020,0.075692981481552,0.197844773530960,-0.105968259274960,0.060410518199205,0.073910973966122,0.091210231184959,-0.157346189022064,-0.376697897911072,0.105008050799370,-0.076794102787971) * MODEL9_texOff(vec2(-1,0));
res += mat4(0.025146218016744,0.075323432683945,-0.113130629062653,0.140499114990234,-0.200674176216125,-0.186919882893562,0.099467985332012,0.228186681866646,-0.030062181875110,0.160943120718002,-0.187674835324287,-0.049863502383232,-0.125910088419914,-0.030499486252666,0.139609873294830,0.107522025704384) * MODEL9_texOff(vec2(-1,1));
res += mat4(0.141645193099976,-0.001251836540177,-0.192992985248566,-0.036425981670618,0.300705343484879,-0.127349063754082,-0.289908498525620,-0.023899273946881,-0.070989221334457,0.067354954779148,0.039452310651541,0.251794338226318,-0.079458624124527,-0.015214239247143,-0.166766971349716,0.011228629387915) * MODEL9_texOff(vec2(0,-1));
res += mat4(0.067675873637199,-0.051300194114447,-0.092709861695766,0.044213812798262,-0.026267433539033,-0.338295578956604,-0.236387223005295,0.530556678771973,-0.101458802819252,0.144953846931458,-0.087760515511036,0.104181654751301,0.166147246956825,-0.326192468404770,0.102020047605038,0.019466901198030) * MODEL9_texOff(vec2(0,0));
res += mat4(-0.119327843189240,-0.191140070557594,-0.080913335084915,0.052188787609339,-0.031988788396120,-0.092014454305172,-0.015119757503271,0.097672663629055,0.000921841477975,-0.079108960926533,0.190069586038589,-0.279680579900742,-0.066144429147243,-0.155634224414825,0.297047078609467,0.124596282839775) * MODEL9_texOff(vec2(0,1));
res += mat4(0.057537347078323,-0.033491123467684,-0.152940347790718,-0.025201778858900,0.061083227396011,-0.039417304098606,-0.187978833913803,-0.232077166438103,0.005337636917830,0.100705973803997,0.027577968314290,0.113485157489777,-0.109130591154099,-0.120247803628445,-0.224159881472588,-0.005016023758799) * MODEL9_texOff(vec2(1,-1));
res += mat4(-0.094177722930908,-0.043410267680883,0.029499253258109,-0.035839576274157,-0.143451005220413,-0.218379825353622,-0.085427060723305,-0.007997154258192,-0.039066109806299,-0.038324974477291,-0.238961517810822,-0.077783666551113,0.038155335932970,-0.166847988963127,0.031756471842527,-0.059918034821749) * MODEL9_texOff(vec2(1,0));
res += mat4(0.184552654623985,0.118664585053921,-0.134586974978447,0.071861334145069,-0.057077083736658,0.032650135457516,0.022053433582187,-0.000024699755159,-0.139734506607056,0.060719873756170,-0.123012445867062,-0.082309082150459,0.083541207015514,-0.115791067481041,-0.013673082925379,-0.016490820795298) * MODEL9_texOff(vec2(1,1));
res += mat4(-0.199995741248131,-0.076153129339218,0.111156389117241,-0.055733732879162,0.026129534468055,0.102406457066536,-0.210287183523178,0.303574293851852,-0.011824907734990,0.124253973364830,0.031112736091018,-0.330343812704086,0.013124931603670,-0.117603823542595,0.043759837746620,0.297519534826279) * MODEL10_texOff(vec2(-1,-1));
res += mat4(0.088698811829090,-0.032475400716066,-0.017140205949545,-0.240206539630890,0.046414714306593,0.202107891440392,-0.018401684239507,-0.009991895407438,-0.184828221797943,0.161484152078629,0.087553851306438,-0.072822332382202,-0.280668139457703,-0.322876930236816,0.242663040757179,0.078268595039845) * MODEL10_texOff(vec2(-1,0));
res += mat4(-0.115179196000099,0.003584700636566,-0.007097574416548,-0.043031834065914,-0.085674464702606,0.006216821260750,0.177734181284904,0.159261748194695,0.094063058495522,-0.127640724182129,0.068640820682049,0.330489069223404,-0.266374111175537,-0.092882543802261,0.214378952980042,0.173413261771202) * MODEL10_texOff(vec2(-1,1));
res += mat4(0.091730408370495,0.195138260722160,0.152517914772034,0.070762805640697,0.420274913311005,0.069236211478710,0.198260098695755,0.195875525474548,-0.205903440713882,-0.007365601602942,-0.117396071553230,-0.226136758923531,-0.049905709922314,-0.016007887199521,-0.054315540939569,0.048868257552385) * MODEL10_texOff(vec2(0,-1));
res += mat4(0.165819674730301,0.021887641400099,-0.091087087988853,0.154783234000206,-0.103659123182297,0.167184710502625,-0.140594303607941,0.084247656166553,-0.093478217720985,0.144546911120415,-0.329873144626617,0.340922236442566,-0.017068881541491,-0.144314959645271,-0.011194701306522,-0.075323402881622) * MODEL10_texOff(vec2(0,0));
res += mat4(-0.035082254558802,0.175972819328308,0.052923548966646,-0.022142399102449,-0.250831753015518,0.009646511636674,0.147586449980736,-0.136289626359940,0.063693985342979,0.002064392669126,0.187794253230095,0.162694230675697,0.080558344721794,0.082094542682171,-0.164459377527237,0.082597434520721) * MODEL10_texOff(vec2(0,1));
res += mat4(0.008046742528677,0.097239278256893,0.006326003000140,0.024351591244340,-0.055580899119377,-0.093652166426182,0.056495495140553,0.048746991902590,-0.032398834824562,0.134333550930023,-0.096660107374191,-0.055678877979517,0.134322196245193,0.149852946400642,-0.334098398685455,0.477490186691284) * MODEL10_texOff(vec2(1,-1));
res += mat4(-0.045187834650278,0.016877382993698,-0.349919438362122,0.012776715680957,-0.044305700808764,0.104652725160122,-0.273253828287125,-0.262231022119522,-0.060220103710890,0.100177533924580,0.054294038563967,0.078632786870003,0.007441077381372,0.050780769437551,-0.042769931256771,0.174003198742867) * MODEL10_texOff(vec2(1,0));
res += mat4(0.106239564716816,0.075485959649086,-0.082031883299351,-0.050217334181070,0.036784090101719,-0.099314585328102,-0.019834276288748,-0.323544472455978,0.075207807123661,-0.070099502801895,0.246887758374214,0.196397438645363,0.019595906138420,0.163413375616074,0.149642169475555,0.526629567146301) * MODEL10_texOff(vec2(1,1));
res += mat4(-0.282008290290833,-0.150524675846100,-0.066735148429871,-0.116983450949192,-0.061531271785498,0.069967865943909,0.048422571271658,0.147139444947243,0.088557094335556,-0.022850804030895,-0.087022356688976,0.176726594567299,-0.103861905634403,0.149033889174461,0.098114453256130,-0.051292859017849) * MODEL11_texOff(vec2(-1,-1));
res += mat4(0.012866388075054,-0.092041715979576,0.198776349425316,0.103797696530819,-0.172882810235023,0.147982150316238,0.271605819463730,-0.185472056269646,-0.112142339348793,0.098198235034943,-0.017538171261549,0.029910562559962,-0.046362634748220,0.152096435427666,0.412920832633972,-0.115077346563339) * MODEL11_texOff(vec2(-1,0));
res += mat4(-0.163379564881325,-0.050900995731354,0.059169720858335,-0.078761465847492,-0.085784979164600,0.053285997360945,0.049089916050434,-0.038851607590914,0.164252117276192,0.106128834187984,0.180625215172768,0.111176207661629,0.012691463343799,0.012313817627728,-0.070196770131588,-0.016321085393429) * MODEL11_texOff(vec2(-1,1));
res += mat4(0.453677505254745,-0.092251777648926,-0.077310912311077,0.053481925278902,-0.142409726977348,0.120613887906075,0.141352996230125,0.015874926000834,0.152039110660553,0.111030794680119,0.092124626040459,-0.085312001407146,0.050044998526573,-0.263504713773727,0.029314627870917,-0.061414401978254) * MODEL11_texOff(vec2(0,-1));
res += mat4(-0.152529910206795,-0.239713460206985,0.009510581381619,0.077035531401634,0.355995029211044,-0.344726264476776,-0.082520611584187,0.005853158421814,0.288769423961639,0.073540166020393,0.046573635190725,-0.201418697834015,0.031183589249849,-0.040745992213488,-0.025814054533839,-0.048331011086702) * MODEL11_texOff(vec2(0,0));
res += mat4(-0.178172782063484,-0.301263183355331,-0.013034170493484,-0.183889374136925,-0.110761068761349,0.011693787761033,0.085844710469246,-0.358413696289063,0.132458895444870,-0.082472376525402,0.118066623806953,-0.051799930632114,-0.093464113771915,-0.100968390703201,0.002643766114488,-0.111096218228340) * MODEL11_texOff(vec2(0,1));
res += mat4(-0.107237845659256,0.177317947149277,-0.162433341145515,0.019917780533433,0.048144113272429,-0.053506799042225,-0.025045355781913,-0.010752696543932,-0.049317937344313,-0.022195035591722,-0.053057555109262,-0.040122903883457,-0.052251450717449,-0.048029720783234,0.149455681443214,0.125087738037109) * MODEL11_texOff(vec2(1,-1));
res += mat4(-0.048623830080032,-0.055091056972742,-0.249466806650162,0.107043735682964,0.094051599502563,-0.125969409942627,-0.201311454176903,0.081468679010868,0.067316263914108,0.061258748173714,-0.200783267617226,0.104680888354778,0.053185582160950,0.172233149409294,-0.290091335773468,-0.067090436816216) * MODEL11_texOff(vec2(1,0));
res += mat4(-0.213878080248833,-0.091531552374363,-0.102799065411091,0.126348689198494,0.139381855726242,0.098484247922897,-0.081780172884464,-0.007741257082671,-0.179682672023773,0.004602781031281,0.138073384761810,-0.067599847912788,0.069125719368458,-0.080966703593731,0.060315482318401,0.031420323997736) * MODEL11_texOff(vec2(1,1));
res += mat4(0.082627825438976,0.122850887477398,-0.089999251067638,0.184349179267883,0.235608488321304,-0.151946768164635,0.053250864148140,-0.148160248994827,-0.023660259321332,0.137092605233192,0.024683253839612,0.106367565691471,-0.001390121295117,0.118376307189465,0.054678902029991,-0.087386742234230) * MODEL12_texOff(vec2(-1,-1));
res += mat4(-0.039618507027626,-0.082051746547222,-0.049720715731382,0.206148162484169,0.107208527624607,-0.134105369448662,0.070697747170925,-0.006281621754169,0.091304987668991,0.254884153604507,-0.032778695225716,0.129087105393410,0.106476716697216,0.100166931748390,-0.099766783416271,0.089589267969131) * MODEL12_texOff(vec2(-1,0));
res += mat4(-0.054000433534384,0.051253646612167,0.147195681929588,0.119330599904060,0.103945247828960,0.079589717090130,-0.221195802092552,-0.229071930050850,-0.001300140633248,0.004548268858343,-0.056936793029308,0.330613613128662,-0.006336695048958,-0.235964834690094,0.114965222775936,0.018174329772592) * MODEL12_texOff(vec2(-1,1));
res += mat4(-0.301229208707809,-0.249902367591858,-0.084491230547428,-0.031396515667439,0.055885206907988,0.142366454005241,-0.077855728566647,-0.208970442414284,0.019066503271461,0.099437989294529,0.103276424109936,-0.083852626383305,0.357861280441284,0.091169573366642,0.095384739339352,-0.011960348114371) * MODEL12_texOff(vec2(0,-1));
res += mat4(0.087255708873272,-0.247625350952148,-0.010470186360180,0.127710342407227,-0.063524015247822,0.041350580751896,0.046223882585764,-0.129459798336029,0.478641062974930,0.456884413957596,0.131822541356087,-0.058597981929779,-0.090499050915241,0.272500336170197,-0.075169816613197,0.174134686589241) * MODEL12_texOff(vec2(0,0));
res += mat4(0.060709774494171,-0.119676746428013,0.183478325605392,0.081905782222748,-0.293543219566345,0.049434635788202,-0.065906248986721,0.212116122245789,-0.340336024761200,0.171596646308899,-0.036466740071774,-0.296327829360962,0.074903853237629,0.148384287953377,0.052397899329662,0.404848158359528) * MODEL12_texOff(vec2(0,1));
res += mat4(-0.038541361689568,0.032222881913185,-0.217499539256096,-0.062992408871651,0.001236458541825,-0.004603713750839,-0.055582903325558,-0.021985435858369,-0.092619851231575,0.109416328370571,0.074457116425037,-0.085135333240032,-0.212115705013275,0.167601153254509,0.009118098765612,0.091610401868820) * MODEL12_texOff(vec2(1,-1));
res += mat4(0.066418372094631,-0.105186298489571,0.166098117828369,0.028153672814369,-0.058809675276279,-0.108956724405289,-0.025750316679478,-0.207554563879967,0.146363019943237,-0.089475773274899,0.144849687814713,-0.100365750491619,0.247192457318306,0.254521131515503,0.117797710001469,-0.189633220434189) * MODEL12_texOff(vec2(1,0));
res += mat4(0.015544785186648,-0.057035800069571,0.200447067618370,0.181541413068771,0.173267871141434,0.094966337084770,-0.041681502014399,-0.238569945096970,-0.065173164010048,-0.074309155344963,-0.212446928024292,0.327169030904770,-0.166138187050819,0.033965688198805,-0.042789790779352,-0.084667779505253) * MODEL12_texOff(vec2(1,1));
res = max(res, vec4(0.0)) + vec4(0.102012068033218,-0.008819946087897,0.254593700170517,0.015520741231740) * min(res, vec4(0.0));
return res;
}

//!HOOK LUMA
//!WHEN OUTPUT.w LUMA.w 2.200 * > OUTPUT.h LUMA.h 2.200 * > *
//!COMPONENTS 4
//!BIND MODEL7
//!BIND MODEL8
//!BIND MODEL9
//!BIND MODEL10
//!BIND MODEL11
//!BIND MODEL12
//!SAVE MODEL3
//!DESC [AiUpscale_HQ_Sharp_3x_LineArt] mapping 3_3

vec4 hook()
{
vec4 res = vec4(0.099111407995224,0.092951148748398,0.088763520121574,0.031592726707458);
res += mat4(-0.098450176417828,0.480931252241135,-0.022543013095856,-0.127609685063362,0.147409468889236,0.079842321574688,-0.004061351064593,0.066238455474377,-0.086648307740688,0.163906142115593,0.044734463095665,0.038490302860737,0.020312171429396,-0.087533183395863,-0.037161406129599,-0.062336079776287) * MODEL7_texOff(vec2(-1,-1));
res += mat4(0.049405422061682,0.092723578214645,-0.040872871875763,0.033373925834894,0.151454463601112,0.234040632843971,0.044356290251017,0.038512628525496,0.223577022552490,0.153552159667015,-0.085706360638142,0.243551105260849,-1.072730779647827,-0.197606250643730,-0.057439308613539,-0.099148750305176) * MODEL7_texOff(vec2(-1,0));
res += mat4(-0.149887487292290,0.116176992654800,0.095441214740276,0.036639198660851,0.057562839239836,-0.007397822104394,-0.074272781610489,-0.015222508460283,0.011632718145847,0.044297475367785,-0.052433498203754,-0.039739653468132,-0.161023631691933,0.030615715309978,0.045256700366735,0.143412753939629) * MODEL7_texOff(vec2(-1,1));
res += mat4(-0.001548910629936,0.147273465991020,0.201826363801956,0.028776504099369,-0.152060806751251,0.124354675412178,-0.015044622123241,-0.149267882108688,0.030247556045651,0.342752307653427,-0.038804069161415,-0.206955581903458,0.135586395859718,0.023825712502003,0.062266740947962,0.069404438138008) * MODEL7_texOff(vec2(0,-1));
res += mat4(-0.012502246536314,0.049748856574297,-0.250354468822479,0.150024101138115,0.196370497345924,-0.035822216421366,0.118051111698151,-0.066962510347366,-0.099359042942524,-0.261976629495621,0.057656232267618,-0.356679528951645,0.054200340062380,0.003807261353359,-0.196770489215851,0.042854234576225) * MODEL7_texOff(vec2(0,0));
res += mat4(0.068674288690090,0.084621720016003,0.128692597150803,-0.050331890583038,0.029680375009775,-0.083062581717968,-0.065325953066349,-0.029646169394255,0.064117595553398,-0.149483978748322,0.021276626735926,0.036845158785582,0.048631917685270,0.143251210451126,0.057479552924633,0.017333324998617) * MODEL7_texOff(vec2(0,1));
res += mat4(-0.010595805943012,-0.039409600198269,0.029851306229830,0.011854955926538,-0.025996595621109,0.051360271871090,0.041437663137913,0.036572128534317,-0.114433251321316,0.038941334933043,0.159024015069008,0.061731345951557,-0.011802853085101,-0.047082073986530,0.112192600965500,-0.005463554523885) * MODEL7_texOff(vec2(1,-1));
res += mat4(0.039735987782478,-0.016681451350451,0.074003569781780,-0.030568173155189,0.070742443203926,-0.039138924330473,0.018779616802931,0.037480559200048,0.021594351157546,-0.231175258755684,-0.127895817160606,0.118274800479412,0.048517785966396,-0.101190388202667,-0.038783401250839,0.032790139317513) * MODEL7_texOff(vec2(1,0));
res += mat4(0.028102137148380,-0.012898518703878,-0.059374801814556,-0.020318955183029,0.102670609951019,-0.247729763388634,-0.007424818351865,0.055604260414839,-0.054451331496239,-0.164878889918327,0.165765210986137,0.035744067281485,-0.010488020256162,0.053896140307188,0.052888616919518,0.083043329417706) * MODEL7_texOff(vec2(1,1));
res += mat4(0.022088548168540,0.068850845098495,0.009678774513304,-0.057715196162462,0.146652892231941,-0.100946716964245,0.030981041491032,-0.048054043203592,-0.180051684379578,0.216717824339867,0.020033044740558,0.019182113930583,0.019426636397839,-0.012019780464470,0.003935415763408,-0.115556895732880) * MODEL8_texOff(vec2(-1,-1));
res += mat4(0.116104550659657,0.101072341203690,-0.079495266079903,0.072536379098892,-0.042036302387714,-0.296233832836151,-0.090345725417137,-0.028754640370607,-0.193382531404495,0.094537578523159,-0.096117645502090,0.124013438820839,0.274615585803986,-0.008375479839742,-0.198431462049484,-0.032661344856024) * MODEL8_texOff(vec2(-1,0));
res += mat4(0.021191595122218,-0.143565982580185,-0.029572280123830,0.029777057468891,-0.205859467387199,-0.195904999971390,-0.079978391528130,0.075941465795040,0.236458972096443,-0.013809001073241,-0.090851180255413,0.027443982660770,0.224511265754700,0.102662697434425,-0.015670752152801,0.106487430632114) * MODEL8_texOff(vec2(-1,1));
res += mat4(-0.130446270108223,-0.028493614867330,-0.078259557485580,-0.000274759833701,0.078444257378578,-0.206213861703873,-0.102819323539734,-0.015474778600037,-0.235874488949776,0.169846981763840,-0.061556730419397,-0.041188415139914,-0.035313878208399,0.064824767410755,0.049046635627747,0.030383059754968) * MODEL8_texOff(vec2(0,-1));
res += mat4(-0.077600985765457,0.131273731589317,0.148690029978752,-0.054526519030333,-0.004334984347224,-0.053977236151695,-0.017737982794642,0.489969462156296,-0.419110149145126,-0.104035787284374,-0.069846965372562,0.114651814103127,-0.173523470759392,0.114111922681332,0.316724419593811,0.217455416917801) * MODEL8_texOff(vec2(0,0));
res += mat4(0.077802218496799,-0.254633337259293,-0.025142287835479,-0.031358875334263,0.013077304698527,0.064156413078308,0.047355502843857,-0.078996501863003,-0.120566025376320,0.097722500562668,-0.155223220586777,-0.277342498302460,0.015085573308170,-0.128523051738739,-0.096339456737041,0.078598156571388) * MODEL8_texOff(vec2(0,1));
res += mat4(0.005246208049357,0.026102349162102,0.066690877079964,0.076314993202686,-0.112382762134075,-0.159061178565025,-0.245594322681427,0.053911872208118,0.014725140295923,0.100093908607960,-0.046990104019642,0.026414277032018,-0.009407556615770,-0.063816793262959,-0.134592264890671,0.045539092272520) * MODEL8_texOff(vec2(1,-1));
res += mat4(0.085519634187222,-0.142812281847000,0.104396030306816,-0.043224640190601,0.084794960916042,0.150791153311729,-0.075710281729698,-0.246472328901291,-0.076709516346455,0.081052094697952,0.173284545540810,-0.286257207393646,-0.109868980944157,0.047195676714182,-0.152204245328903,0.116504468023777) * MODEL8_texOff(vec2(1,0));
res += mat4(0.071877203881741,-0.008210412226617,0.032736159861088,-0.059078931808472,-0.133142098784447,0.209563001990318,-0.088380604982376,0.005347908940166,0.007864932529628,0.143835633993149,-0.088552102446556,-0.056270416826010,0.002192553132772,0.011564489454031,-0.011500481516123,0.043592758476734) * MODEL8_texOff(vec2(1,1));
res += mat4(0.039622854441404,0.053383126854897,-0.070558749139309,0.005454965401441,0.218364536762238,-0.097658187150955,-0.017540436238050,-0.080090112984180,-0.149791121482849,0.150834500789642,-0.008270844817162,0.042101331055164,-0.164349436759949,-0.246659457683563,0.056389328092337,-0.194622322916985) * MODEL9_texOff(vec2(-1,-1));
res += mat4(-0.080832205712795,-0.223414286971092,-0.138583764433861,-0.078803546726704,0.001437005586922,0.069144092500210,-0.113336361944675,-0.256292432546616,0.192675501108170,0.007686174008995,-0.090057417750359,-0.005007651168853,-0.257714092731476,0.050816912204027,0.102066867053509,-0.057712361216545) * MODEL9_texOff(vec2(-1,0));
res += mat4(-0.034243777394295,0.065975472331047,0.074763320386410,-0.143048137426376,0.168598413467407,0.100777812302113,-0.051653977483511,-0.145087614655495,0.183834210038185,0.120817720890045,0.059703882783651,-0.010239058174193,0.036315556615591,-0.019150769338012,-0.006109242793173,0.026315953582525) * MODEL9_texOff(vec2(-1,1));
res += mat4(0.035427223891020,0.049408193677664,-0.067590862512589,-0.006036395207047,0.006584477145225,-0.119466789066792,0.010112976655364,-0.079697333276272,0.035646349191666,0.115425057709217,-0.029424378648400,-0.008325880393386,0.025749670341611,-0.155866503715515,0.004963597282767,0.080498278141022) * MODEL9_texOff(vec2(0,-1));
res += mat4(-0.172049030661583,-0.069614358246326,0.155624940991402,0.081702940165997,-0.191744089126587,-0.031299103051424,-0.265059202909470,-0.249295562505722,0.039615809917450,0.058464169502258,0.205672398209572,-0.466866672039032,-0.125918865203857,-0.114349611103535,0.098164424300194,-0.048219982534647) * MODEL9_texOff(vec2(0,0));
res += mat4(-0.000852469762322,0.045883145183325,-0.329207688570023,-0.076155312359333,-0.164162024855614,-0.043095227330923,0.026686633005738,-0.021789301186800,-0.239879518747330,-0.305495351552963,-0.065485857427120,-0.134736865758896,-0.055308371782303,-0.021360591053963,-0.049338631331921,-0.017743378877640) * MODEL9_texOff(vec2(0,1));
res += mat4(-0.008051061071455,-0.074153251945972,-0.077294856309891,0.002297771163285,-0.119956694543362,-0.196932077407837,0.030570851638913,-0.001453544013202,0.025240769609809,0.067124128341675,0.076447494328022,-0.012449964880943,0.035492565482855,-0.039272401481867,-0.035772480070591,0.017388459295034) * MODEL9_texOff(vec2(1,-1));
res += mat4(-0.024164933711290,-0.003371065016836,-0.090718515217304,0.016347011551261,-0.276780724525452,-0.087606750428677,0.336671680212021,-0.075755849480629,-0.061638861894608,-0.287852853536606,0.089108571410179,-0.049787878990173,-0.045206874608994,-0.074572205543518,-0.126592636108398,0.100362993776798) * MODEL9_texOff(vec2(1,0));
res += mat4(-0.012742447666824,-0.043657574802637,-0.087923809885979,-0.043116588145494,-0.116518907248974,-0.162135079503059,0.052719414234161,-0.067459695041180,-0.108946628868580,-0.206490382552147,0.106671653687954,0.194026246666908,0.006798216141760,-0.067059688270092,0.010714554227889,0.033203553408384) * MODEL9_texOff(vec2(1,1));
res += mat4(-0.038765169680119,-0.173324137926102,-0.035053990781307,-0.167392551898956,0.298093169927597,0.059867430478334,-0.023305077105761,0.057798538357019,0.049908034503460,0.100792691111565,-0.053144611418247,-0.148495092988014,-0.152895465493202,0.021150141954422,-0.049413453787565,0.006511833518744) * MODEL10_texOff(vec2(-1,-1));
res += mat4(0.236583992838860,-0.140567302703857,0.004183860961348,-0.201761588454247,0.074614413082600,-0.058567009866238,0.031515151262283,-0.231992319226265,-0.021449942141771,0.155798450112343,0.055274039506912,-0.032586865127087,-0.560759186744690,0.114004716277122,-0.199617981910706,0.134743019938469) * MODEL10_texOff(vec2(-1,0));
res += mat4(0.033241994678974,-0.054865371435881,0.082359008491039,-0.061457782983780,0.027633266523480,-0.182106330990791,-0.062740899622440,-0.232049077749252,-0.073415972292423,-0.056826706975698,-0.018187781795859,0.207195580005646,-0.072616524994373,0.125839933753014,-0.072919510304928,-0.043339952826500) * MODEL10_texOff(vec2(-1,1));
res += mat4(-0.214432567358017,-0.157526955008507,0.003729935502633,0.029131473973393,-0.012187329120934,-0.091150969266891,0.055336110293865,-0.094264231622219,-0.289398729801178,0.029011631384492,-0.054344289004803,0.055930458009243,-0.059790108352900,-0.012778987176716,-0.078379556536674,0.003528936533257) * MODEL10_texOff(vec2(0,-1));
res += mat4(-0.091486774384975,0.097989916801453,-0.107426144182682,0.157942533493042,-0.258003085851669,-0.409210741519928,-0.055022317916155,-0.170659884810448,0.035907458513975,-0.158370807766914,0.054668232798576,-0.141594573855400,-0.147256255149841,0.004947804380208,-0.319252818822861,0.023023737594485) * MODEL10_texOff(vec2(0,0));
res += mat4(0.026020940393209,0.109394177794456,0.088543891906738,0.153766080737114,-0.000664699240588,-0.022315068170428,0.061410889029503,0.211605176329613,-0.007796588353813,-0.096398539841175,-0.052945889532566,-0.132171556353569,0.015308922156692,0.194739118218422,-0.160132527351379,0.132485315203667) * MODEL10_texOff(vec2(0,1));
res += mat4(0.147295981645584,0.033969663083553,0.003595343790948,0.078252218663692,-0.117940500378609,-0.286066442728043,-0.006082550156862,0.033880036324263,0.085028558969498,0.134933233261108,-0.060407463461161,0.028173930943012,-0.008402163162827,0.059231337159872,-0.041397616267204,0.053708877414465) * MODEL10_texOff(vec2(1,-1));
res += mat4(0.003927741665393,0.155201181769371,-0.068233132362366,0.100050330162048,0.008904001675546,-0.181148231029510,-0.240305319428444,0.137448087334633,0.113197058439255,0.096275307238102,-0.073531918227673,0.152778401970863,0.042870353907347,0.167090266942978,-0.124725259840488,0.073666252195835) * MODEL10_texOff(vec2(1,0));
res += mat4(-0.067337058484554,0.132439166307449,0.051431383937597,0.039420057088137,-0.060042448341846,0.169108211994171,0.153458297252655,-0.221361368894577,0.010453138500452,-0.001989005599171,-0.086751714348793,0.128715798258781,-0.050069369375706,0.316129386425018,-0.203004628419876,-0.011733884923160) * MODEL10_texOff(vec2(1,1));
res += mat4(0.415281385183334,0.159234613180161,-0.112069085240364,0.038430780172348,-0.178728416562080,-0.017378395423293,0.020851531997323,0.042064271867275,0.026072699576616,0.049293830990791,-0.065471678972244,-0.155497208237648,-0.058703251183033,-0.094214953482151,0.118132740259171,0.031214173883200) * MODEL11_texOff(vec2(-1,-1));
res += mat4(0.277636289596558,-0.090914823114872,-0.077154651284218,-0.009108460508287,0.262670695781708,0.124675951898098,-0.061001520603895,0.151502937078476,-0.131573960185051,0.032935708761215,-0.069677785038948,-0.127512574195862,0.249443843960762,-0.074177645146847,0.119025275111198,0.131100460886955) * MODEL11_texOff(vec2(-1,0));
res += mat4(-0.096125148236752,-0.051125109195709,0.000391629175283,-0.066164411604404,-0.021038940176368,0.174602553248405,-0.004000285640359,-0.167049467563629,0.003257734468207,-0.111732356250286,-0.068219073116779,-0.019445680081844,-0.082109399139881,-0.015214487910271,-0.076022841036320,-0.134309872984886) * MODEL11_texOff(vec2(-1,1));
res += mat4(-0.074535600841045,-0.035682547837496,0.114609278738499,0.258821725845337,-0.056012798100710,-0.111382871866226,-0.098465465009212,0.201035842299461,-0.077012889087200,-0.135271593928337,-0.055259417742491,-0.045318871736526,0.013993701897562,-0.119653575122356,-0.189169928431511,-0.175193756818771) * MODEL11_texOff(vec2(0,-1));
res += mat4(0.077840059995651,-0.078768417239189,0.000942458107602,0.174897700548172,0.125231251120567,0.155699372291565,-0.111089244484901,-0.039625890552998,-0.022525032982230,-0.208898499608040,-0.109919600188732,-0.083100162446499,-0.149246349930763,-0.150742426514626,0.359822928905487,0.209552571177483) * MODEL11_texOff(vec2(0,0));
res += mat4(-0.058735765516758,-0.026522593572736,-0.040547784417868,-0.060227509588003,0.092472724616528,-0.161028653383255,-0.131554991006851,-0.119115546345711,0.067960537970066,-0.173024043440819,-0.158862844109535,-0.044312998652458,0.017616100609303,-0.016966262832284,-0.107826456427574,0.041592106223106) * MODEL11_texOff(vec2(0,1));
res += mat4(-0.043186761438847,0.057487033307552,-0.034624483436346,0.013475140556693,-0.063402384519577,0.049572091549635,-0.046735946089029,-0.006002172827721,-0.037426535040140,-0.038262411952019,-0.010493796318769,-0.100109472870827,-0.043649878352880,0.025605328381062,0.115773037075996,0.045317810028791) * MODEL11_texOff(vec2(1,-1));
res += mat4(-0.104159608483315,0.086501121520996,0.272024244070053,0.165899544954300,-0.058070175349712,-0.042770195752382,0.107772611081600,-0.108303271234035,-0.069064214825630,-0.185266643762589,-0.225429549813271,0.035686790943146,-0.027210304513574,-0.122108794748783,-0.049369875341654,-0.022588463500142) * MODEL11_texOff(vec2(1,0));
res += mat4(-0.016828974708915,-0.096986599266529,-0.064269974827766,0.174728259444237,-0.063278391957283,-0.152744635939598,-0.029014559462667,-0.075687639415264,-0.106690794229507,-0.092476151883602,-0.190203204751015,-0.009552057832479,-0.033262595534325,-0.008399710059166,-0.097615867853165,-0.011081166565418) * MODEL11_texOff(vec2(1,1));
res += mat4(0.012845387682319,0.092205949127674,-0.002242780989036,0.202106565237045,-0.110327646136284,-0.022948592901230,0.030378075316548,-0.006805969867855,-0.075354948639870,-0.314943641424179,0.032061897218227,-0.087125949561596,0.045459199696779,-0.072405725717545,-0.001952252117917,-0.086795002222061) * MODEL12_texOff(vec2(-1,-1));
res += mat4(0.143601685762405,0.211521357297897,-0.017630038782954,-0.021709406748414,-0.118435449898243,0.441160053014755,-0.035183094441891,0.102946981787682,-0.551662266254425,0.053723514080048,0.129891037940979,-0.180263429880142,-0.110845424234867,-0.006165497470647,0.184253796935081,-0.094386965036392) * MODEL12_texOff(vec2(-1,0));
res += mat4(0.009894473478198,0.024005372077227,-0.046162750571966,0.034255396574736,0.155396059155464,-0.196997597813606,0.014721034094691,-0.052849795669317,0.150925680994987,0.034753918647766,0.103915371000767,0.003318582661450,0.185508310794830,0.228430911898613,-0.051934640854597,-0.184436574578285) * MODEL12_texOff(vec2(-1,1));
res += mat4(-0.013508858159184,0.074825979769230,-0.026569293811917,0.014645986258984,0.035861585289240,-0.019251339137554,-0.121389687061310,0.045383144170046,0.062976606190205,-0.231070876121521,0.090132646262646,0.013592441566288,0.071412511169910,-0.026762584224343,-0.037832792848349,0.038819268345833) * MODEL12_texOff(vec2(0,-1));
res += mat4(-0.051748421043158,-0.003162115812302,-0.021738281473517,-0.062310263514519,-0.032783713191748,0.035009276121855,0.193501263856888,-0.117958419024944,0.145875930786133,0.180998206138611,0.006169555708766,0.245017096400261,0.332144826650620,-0.118456825613976,0.061114128679037,-0.030296273529530) * MODEL12_texOff(vec2(0,0));
res += mat4(-0.042708259075880,-0.137423828244209,-0.198558300733566,-0.001636855071411,0.109255142509937,-0.079346448183060,-0.155278012156487,0.222634255886078,0.009104224853218,0.202045395970345,0.209165871143341,-0.174811720848083,0.001874725800008,0.013938276097178,-0.119062483310699,0.068505659699440) * MODEL12_texOff(vec2(0,1));
res += mat4(0.036116749048233,0.001698192092590,0.087790869176388,0.038679122924805,-0.004432636778802,-0.002711370121688,-0.044545449316502,0.060371249914169,-0.068647786974907,-0.030551599338651,-0.032912854105234,0.069936074316502,-0.019264074042439,0.050062496215105,-0.085320293903351,-0.014205726794899) * MODEL12_texOff(vec2(1,-1));
res += mat4(-0.019882924854755,0.073769047856331,0.116345316171646,-0.043290726840496,0.015744620934129,-0.138711676001549,-0.077097654342651,0.156440690159798,0.003071855520830,-0.037794105708599,0.076335191726685,-0.042125314474106,0.055676434189081,-0.064521647989750,0.076834857463837,0.092154301702976) * MODEL12_texOff(vec2(1,0));
res += mat4(-0.020376542583108,0.040772508829832,-0.034067247062922,0.089258491992950,-0.127670571208000,0.136105999350548,0.172962829470634,-0.164797157049179,0.012878019362688,0.055619861930609,0.074183613061905,-0.038734558969736,-0.059318970888853,0.077174007892609,0.071314908564091,-0.134827464818954) * MODEL12_texOff(vec2(1,1));
res = max(res, vec4(0.0)) + vec4(-0.092065557837486,0.008010356687009,0.633783578872681,0.489363580942154) * min(res, vec4(0.0));
return res;
}

//!HOOK LUMA
//!WHEN OUTPUT.w LUMA.w 2.200 * > OUTPUT.h LUMA.h 2.200 * > *
//!COMPONENTS 4
//!BIND MODEL7
//!BIND MODEL8
//!BIND MODEL9
//!BIND MODEL10
//!BIND MODEL11
//!BIND MODEL12
//!SAVE MODEL4
//!DESC [AiUpscale_HQ_Sharp_3x_LineArt] mapping 3_4

vec4 hook()
{
vec4 res = vec4(-0.019433815032244,0.037181861698627,-0.036796368658543,-0.244998574256897);
res += mat4(-0.067888364195824,-0.125446155667305,-0.072698973119259,0.139021188020706,0.075113408267498,0.093954406678677,-0.028756301850080,0.032987136393785,-0.018009440973401,0.060671374201775,-0.109426781535149,-0.113424807786942,-0.114940017461777,0.041699238121510,0.074180707335472,-0.081450641155243) * MODEL7_texOff(vec2(-1,-1));
res += mat4(0.065125875174999,0.070785798132420,0.064999096095562,0.347629189491272,0.121913969516754,-0.138348266482353,0.149801939725876,0.005488298367709,-0.062499761581421,0.149819806218147,0.343608260154724,0.236037522554398,0.119169361889362,-0.009434327483177,0.085378915071487,0.095700822770596) * MODEL7_texOff(vec2(-1,0));
res += mat4(-0.043164972215891,-0.104613967239857,-0.064009189605713,-0.080892175436020,-0.067778557538986,0.009869728237391,0.228505566716194,-0.101320616900921,-0.100643940269947,-0.068962454795837,-0.032835401594639,0.260893493890762,0.131122842431068,0.221084758639336,0.003265348728746,-0.117788091301918) * MODEL7_texOff(vec2(-1,1));
res += mat4(-0.024512993171811,-0.116383239626884,-0.033153034746647,0.034866482019424,-0.170987188816071,-0.020629730075598,-0.200030148029327,-0.035042982548475,0.002058578189462,-0.128054216504097,-0.071634113788605,0.212036564946175,0.071473754942417,-0.163416936993599,0.027443651109934,-0.010175706818700) * MODEL7_texOff(vec2(0,-1));
res += mat4(0.010729269124568,0.126666799187660,0.091842219233513,0.080934688448906,-0.188777580857277,0.086927220225334,0.265039473772049,-0.263323038816452,0.055997349321842,0.048427801579237,0.336222857236862,-0.391934245824814,0.016416557133198,-0.380765020847321,-0.025472572073340,0.036997459828854) * MODEL7_texOff(vec2(0,0));
res += mat4(-0.102678410708904,0.051323145627975,-0.123115189373493,-0.053904686123133,-0.124939955770969,0.178554922342300,0.120417170226574,-0.036264773458242,0.074887223541737,0.014427776448429,-0.163263216614723,0.213941544294357,-0.148071587085724,-0.123929493129253,0.123715303838253,-0.131475657224655) * MODEL7_texOff(vec2(0,1));
res += mat4(0.028571812435985,0.085243619978428,0.004789649043232,0.026754770427942,-0.190362378954887,-0.085959255695343,-0.141419962048531,-0.070682145655155,0.107432082295418,0.032128620892763,-0.004699380137026,0.016751853749156,0.107881762087345,0.018692018464208,0.064560450613499,0.045219682157040) * MODEL7_texOff(vec2(1,-1));
res += mat4(-0.007158603053540,0.051355518400669,0.066482253372669,0.191884770989418,0.112530246376991,-0.153541028499603,-0.044246826320887,-0.049632202833891,0.010769159533083,0.240811884403229,-0.132853776216507,0.197428017854691,0.020398376509547,0.034372657537460,0.052984721958637,0.000557357794605) * MODEL7_texOff(vec2(1,0));
res += mat4(0.026592066511512,-0.006312792655081,-0.063773207366467,0.030789339914918,-0.025793056935072,0.124682620167732,0.106396205723286,-0.042495444417000,-0.100129753351212,-0.087996870279312,-0.119990564882755,-0.202514931559563,0.037661060690880,0.020905163139105,-0.029866160824895,0.092126086354256) * MODEL7_texOff(vec2(1,1));
res += mat4(0.049602862447500,-0.034313667565584,0.015966009348631,-0.115385748445988,0.004813926760107,0.000497918343171,0.416782408952713,0.018077822402120,0.054063331335783,-0.030720204114914,-0.086128272116184,-0.127652183175087,-0.122210703790188,-0.054138414561749,0.045938335359097,0.146469101309776) * MODEL8_texOff(vec2(-1,-1));
res += mat4(-0.032870788127184,-0.091191433370113,0.074941180646420,0.046929769217968,0.159198403358459,0.089567139744759,-0.278325915336609,0.081534929573536,0.061019949615002,-0.044698413461447,0.151639014482498,-0.108483962714672,-0.256682395935059,0.006388807203621,0.028063153848052,0.306803822517395) * MODEL8_texOff(vec2(-1,0));
res += mat4(-0.110201597213745,-0.039449132978916,0.008847043849528,-0.000932824797928,0.081627041101456,0.111347034573555,-0.173026740550995,0.142595544457436,0.031248647719622,-0.059776581823826,0.041030570864677,0.082037322223186,0.045153956860304,0.005704043433070,-0.166866451501846,-0.053377833217382) * MODEL8_texOff(vec2(-1,1));
res += mat4(-0.205674260854721,0.089682981371880,-0.202028244733810,0.111909106373787,0.139986023306847,-0.163944438099861,0.278867751359940,-0.093031816184521,0.128691956400871,-0.066531255841255,-0.037761703133583,0.104330673813820,0.321018546819687,-0.044390946626663,-0.035288333892822,0.013492964208126) * MODEL8_texOff(vec2(0,-1));
res += mat4(-0.042449817061424,0.096606358885765,0.140298098325729,-0.000950122950599,0.094939745962620,0.290036439895630,-0.082108214497566,0.138572454452515,-0.303494006395340,-0.156934648752213,0.138496562838554,0.152956560254097,-0.210791677236557,-0.219090849161148,0.117201797664165,0.095002271234989) * MODEL8_texOff(vec2(0,0));
res += mat4(0.220891892910004,0.178402483463287,0.061118267476559,0.002394974697381,-0.011388755403459,-0.127323657274246,-0.301220625638962,0.042855530977249,-0.130937695503235,-0.041668683290482,-0.071569114923477,0.349327594041824,0.242206528782845,-0.260147511959076,-0.001995503436774,0.137095674872398) * MODEL8_texOff(vec2(0,1));
res += mat4(0.082817330956459,-0.005846343468875,-0.074540480971336,0.071848496794701,0.005252606701106,-0.001726682414301,0.087026223540306,-0.071059271693230,0.068687804043293,0.027356989681721,-0.072404161095619,0.022481676191092,0.131153926253319,0.012891397811472,0.002141124336049,-0.021977189928293) * MODEL8_texOff(vec2(1,-1));
res += mat4(0.063480526208878,0.075597077608109,0.055033624172211,0.186942324042320,-0.156439393758774,-0.196296378970146,0.171171367168427,-0.068733207881451,0.118266753852367,-0.064616113901138,0.044324882328510,0.048820510506630,0.035186510533094,-0.132170781493187,0.021058863028884,0.123807489871979) * MODEL8_texOff(vec2(1,0));
res += mat4(-0.057740490883589,-0.054894302040339,0.203077897429466,-0.063358813524246,-0.097963765263557,-0.036336768418550,0.004381254315376,-0.012988965027034,-0.057252150028944,0.354297995567322,-0.166854217648506,-0.028864515945315,0.133347302675247,-0.035853669047356,0.103804834187031,0.158797204494476) * MODEL8_texOff(vec2(1,1));
res += mat4(-0.049178000539541,-0.016754815354943,0.026047188788652,-0.018266251310706,-0.212887734174728,-0.095565706491470,0.181570738554001,-0.127935558557510,0.038049753755331,-0.136701434850693,-0.078189730644226,-0.058280233293772,-0.005366454366595,-0.026833226904273,-0.059143804013729,-0.057668596506119) * MODEL9_texOff(vec2(-1,-1));
res += mat4(-0.067319624125957,-0.072093680500984,0.025149069726467,0.063188210129738,-0.072909496724606,0.064046286046505,-0.255668878555298,-0.123353458940983,-0.167753592133522,0.002864868845791,0.060993526130915,0.104431338608265,0.024976976215839,-0.153250381350517,-0.085000574588776,-0.017538668587804) * MODEL9_texOff(vec2(-1,0));
res += mat4(-0.005915235728025,-0.161430835723877,-0.027150055393577,-0.256051659584045,-0.147795006632805,0.210518568754196,-0.141709759831429,0.083321824669838,-0.007196677383035,0.024595882743597,0.079761564731598,-0.155018001794815,-0.044436942785978,-0.067736782133579,0.050320442765951,0.120331726968288) * MODEL9_texOff(vec2(-1,1));
res += mat4(-0.129719838500023,-0.040863234549761,0.043539334088564,-0.128610387444496,-0.136315435171127,-0.248933285474777,0.152575939893723,-0.122476927936077,-0.095874473452568,-0.074685245752335,-0.064002551138401,0.197005674242973,-0.169580787420273,-0.143933653831482,-0.095909997820854,0.003679676912725) * MODEL9_texOff(vec2(0,-1));
res += mat4(-0.018948014825583,0.174873530864716,0.173294857144356,0.038543220609426,0.203915521502495,0.512842833995819,-0.120232641696930,-0.142092421650887,-0.262051701545715,0.031337000429630,-0.125313416123390,-0.051024015992880,-0.250331461429596,-0.097577348351479,0.074200198054314,0.096970476210117) * MODEL9_texOff(vec2(0,0));
res += mat4(-0.147226676344872,0.009392908774316,0.172738254070282,-0.042555250227451,0.113994114100933,-0.259821921586990,-0.277796804904938,0.072632826864719,0.110004439949989,-0.058772001415491,-0.001420004176907,-0.122782975435257,-0.138283282518387,0.020126553252339,-0.057937905192375,0.082186169922352) * MODEL9_texOff(vec2(0,1));
res += mat4(-0.050891090184450,-0.040116637945175,-0.009504193440080,-0.090142697095871,-0.035454582422972,-0.112054549157619,0.073313266038895,0.043128482997417,0.102683976292610,-0.067418791353703,-0.043658830225468,0.076059669256210,0.011634138412774,-0.079848058521748,-0.046367280185223,0.021070789545774) * MODEL9_texOff(vec2(1,-1));
res += mat4(0.137740373611450,-0.012266498990357,-0.121919132769108,-0.036259412765503,0.067340344190598,0.168926492333412,-0.008539009839296,-0.031106082722545,0.158107757568359,0.084418490529060,-0.001237141317688,-0.111105568706989,-0.006850277539343,-0.119868047535419,-0.071489810943604,0.002517274115235) * MODEL9_texOff(vec2(1,0));
res += mat4(-0.025676853954792,0.047820474952459,-0.136512473225594,0.069952145218849,0.235627546906471,0.237858623266220,-0.068911820650101,0.215907067060471,0.008970348164439,0.093359604477882,0.077594324946404,0.112534560263157,-0.014688882045448,-0.108771696686745,0.009792102500796,-0.052568178623915) * MODEL9_texOff(vec2(1,1));
res += mat4(-0.015965016558766,-0.134988501667976,-0.076163172721863,0.198301419615746,-0.174759671092033,0.044621922075748,0.202614232897758,0.071147300302982,0.021822966635227,-0.099231697618961,-0.105625696480274,0.012753035873175,-0.179968744516373,0.079524576663971,-0.045615453273058,-0.074458338320255) * MODEL10_texOff(vec2(-1,-1));
res += mat4(0.046279914677143,0.023041881620884,-0.538961946964264,-0.241702765226364,0.138965353369713,-0.110251568257809,-0.015564875677228,-0.532806217670441,-0.216758295893669,0.138563290238380,0.183044120669365,0.059859260916710,-0.033085402101278,0.145506575703621,0.098139189183712,0.004568294156343) * MODEL10_texOff(vec2(-1,0));
res += mat4(-0.052985843271017,0.062838442623615,-0.009522789157927,-0.041598431766033,0.057331603020430,-0.019255442544818,-0.003315955866128,-0.152626141905785,-0.054672714322805,0.017282960936427,-0.102696664631367,0.160512566566467,-0.060661923140287,-0.093552701175213,-0.022316277027130,-0.072227537631989) * MODEL10_texOff(vec2(-1,1));
res += mat4(0.352194637060165,-0.002895648125559,-0.181635707616806,0.069951348006725,0.001021711388603,0.014125371351838,0.133685633540154,-0.199163347482681,-0.162504807114601,0.117531694471836,-0.315621763467789,0.204056993126869,0.087073057889938,-0.171544417738914,-0.002782994648442,0.076524548232555) * MODEL10_texOff(vec2(0,-1));
res += mat4(0.231276005506516,0.227656543254852,-0.323418676853180,0.302560240030289,0.265392214059830,0.226340398192406,0.132327556610107,-0.099872291088104,0.124319680035114,-0.118525989353657,0.347723096609116,-0.324966579675674,0.007100000977516,-0.102879106998444,0.122095473110676,-0.059059988707304) * MODEL10_texOff(vec2(0,0));
res += mat4(0.043163079768419,-0.089481607079506,0.100518979132175,-0.008641844615340,0.017781222239137,0.224390640854836,-0.136413753032684,0.145666211843491,-0.018456239253283,0.059374511241913,-0.094056189060211,-0.290345847606659,0.036275666207075,-0.148040935397148,0.172396153211594,-0.028003556653857) * MODEL10_texOff(vec2(0,1));
res += mat4(0.097401067614555,0.120997846126556,0.017011893913150,0.047762535512447,-0.030630746856332,0.047860264778137,0.031779769808054,-0.035419028252363,-0.061193786561489,0.004081569612026,0.041009858250618,0.010353421792388,-0.065019443631172,-0.122918203473091,-0.007000449113548,0.010219564661384) * MODEL10_texOff(vec2(1,-1));
res += mat4(-0.132097452878952,0.029620489105582,-0.063174232840538,0.051779899746180,-0.108688019216061,0.005156651604921,-0.004064546432346,0.236703172326088,0.009925078600645,-0.072997920215130,0.072058126330376,-0.110548019409180,-0.125694066286087,-0.211953014135361,0.051046498119831,-0.028224183246493) * MODEL10_texOff(vec2(1,0));
res += mat4(-0.154799252748489,-0.115875989198685,-0.110707007348537,-0.058816995471716,-0.144211933016777,0.011232905089855,-0.041730120778084,-0.128686085343361,0.014719850383699,-0.024939179420471,-0.017353061586618,0.021166481077671,-0.016773495823145,-0.104863636195660,-0.011418648064137,0.010339491069317) * MODEL10_texOff(vec2(1,1));
res += mat4(-0.129789322614670,-0.143380433320999,-0.066262148320675,0.323910534381866,0.121339388191700,-0.038970895111561,-0.057110074907541,-0.105134412646294,-0.054104391485453,0.033741030842066,0.067727439105511,-0.176078274846077,0.066292755305767,0.142361223697662,0.077475719153881,0.128031045198441) * MODEL11_texOff(vec2(-1,-1));
res += mat4(-0.156357139348984,-0.138297736644745,-0.003299984615296,0.034415129572153,-0.295179665088654,0.233972400426865,0.137244284152985,0.148276284337044,-0.004441368393600,-0.033432155847549,0.061695646494627,-0.337792992591858,-0.043458916246891,-0.151047423481941,-0.060336679220200,0.265821009874344) * MODEL11_texOff(vec2(-1,0));
res += mat4(-0.130026146769524,-0.079235151410103,-0.161789804697037,-0.121604166924953,0.028832381591201,-0.098657377064228,0.075759135186672,-0.116812668740749,0.031216489151120,0.001630348619074,0.134710982441902,-0.159072250127792,-0.099446773529053,-0.025470279157162,-0.047696083784103,0.152099803090096) * MODEL11_texOff(vec2(-1,1));
res += mat4(0.058619718998671,-0.028263451531529,0.186655461788177,-0.026625929400325,-0.124788470566273,0.069054581224918,-0.031304769217968,0.240915015339851,-0.009085275232792,0.087404839694500,-0.043663971126080,-0.026317467913032,0.137813121080399,0.062825970351696,0.028149748221040,-0.029182195663452) * MODEL11_texOff(vec2(0,-1));
res += mat4(0.131295800209045,0.005790011491627,-0.310470640659332,0.094424344599247,0.278032153844833,0.010126865468919,0.040213976055384,-0.218394786119461,-0.101822622120380,0.034402541816235,-0.025796841830015,-0.103966332972050,0.165648430585861,-0.115409977734089,0.216685488820076,0.029764423146844) * MODEL11_texOff(vec2(0,0));
res += mat4(0.103312805294991,-0.006211895029992,0.006577725056559,0.069860592484474,0.038786880671978,-0.005627889186144,0.039028465747833,0.239255771040916,0.010188528336585,0.245347484946251,0.103758327662945,0.034098383039236,0.029211603105068,-0.231398299336433,-0.250902503728867,0.095615379512310) * MODEL11_texOff(vec2(0,1));
res += mat4(-0.052962586283684,-0.000815145438537,-0.055837895721197,0.034257616847754,-0.053968656808138,0.149248898029327,-0.038493931293488,0.012910348363221,0.085828132927418,-0.026881253346801,-0.004097963683307,0.083341263234615,0.043395783752203,0.053935687988997,0.011645087972283,-0.038409668952227) * MODEL11_texOff(vec2(1,-1));
res += mat4(-0.173221319913864,-0.064885862171650,0.132329478859901,-0.053719412535429,0.161466136574745,0.052457783371210,0.029696213081479,-0.183519065380096,0.047355692833662,-0.038583502173424,-0.147727280855179,0.036773409694433,0.011147883720696,0.023218058049679,-0.056931480765343,0.110061019659042) * MODEL11_texOff(vec2(1,0));
res += mat4(0.056336157023907,0.178478255867958,0.034345652908087,0.254051208496094,0.102339729666710,0.261230170726776,0.011110072024167,0.112087011337280,-0.009171578101814,-0.180680245161057,0.192404597997665,0.019171323627234,0.034617703408003,-0.093194641172886,0.036637958139181,-0.104032725095749) * MODEL11_texOff(vec2(1,1));
res += mat4(-0.064181193709373,0.117483921349049,0.004859942942858,0.147315964102745,0.125988751649857,-0.009325083345175,0.216291010379791,-0.026143873110414,-0.029627244919538,0.007716945372522,0.034134600311518,0.055930331349373,0.092344649136066,-0.039343979209661,0.014512257650495,-0.020758202299476) * MODEL12_texOff(vec2(-1,-1));
res += mat4(-0.129473164677620,0.063413530588150,0.017985438928008,0.030159125104547,-0.006849280558527,0.107281640172005,-0.547023117542267,0.286296963691711,0.258266627788544,0.206039384007454,-0.304465711116791,0.018105288967490,0.127367347478867,-0.114628694951534,-0.297415763139725,-0.215600803494453) * MODEL12_texOff(vec2(-1,0));
res += mat4(-0.016408946365118,-0.050026185810566,0.037701789289713,-0.146519586443901,0.025869064033031,0.051175244152546,0.027083378285170,0.010094253346324,-0.025211313739419,0.107131786644459,0.034850254654884,0.142754629254341,-0.093773700296879,0.026255998760462,-0.197717070579529,0.131028220057487) * MODEL12_texOff(vec2(-1,1));
res += mat4(0.151423677802086,0.300571620464325,-0.184323996305466,0.070033282041550,0.058955613523722,0.184716790914536,-0.061217334121466,0.107724301517010,0.396199673414230,-0.007054042536765,0.105513669550419,0.060866385698318,0.140625774860382,-0.131499499082565,0.080960929393768,-0.119842022657394) * MODEL12_texOff(vec2(0,-1));
res += mat4(0.009017989970744,0.142416045069695,0.264538586139679,-0.135064214468002,-0.146273955702782,0.000619771133643,-0.175599217414856,-0.080071374773979,0.072645507752895,0.202825501561165,0.062959864735603,-0.043116439133883,0.069617509841919,-0.123468995094299,-0.193420082330704,0.050509445369244) * MODEL12_texOff(vec2(0,0));
res += mat4(0.074643939733505,0.268874496221542,0.096356362104416,0.094136178493500,-0.028696507215500,-0.041029300540686,-0.112663865089417,0.161030009388924,-0.050305917859077,0.001379103050567,-0.126114189624786,-0.053677733987570,0.003870595246553,-0.183908402919769,-0.148817554116249,-0.036483306437731) * MODEL12_texOff(vec2(0,1));
res += mat4(-0.060508225113153,0.103983685374260,-0.040428083389997,-0.054993152618408,0.044904086738825,-0.007928255014122,0.066937237977982,-0.140659406781197,-0.073891855776310,0.013363301753998,-0.098667345941067,0.028526894748211,-0.032899428158998,0.091072268784046,-0.015953095629811,-0.037064686417580) * MODEL12_texOff(vec2(1,-1));
res += mat4(-0.154589742422104,0.097543492913246,0.120334930717945,-0.049343731254339,0.024001177400351,-0.003948969766498,-0.013420850969851,0.076816514134407,-0.090969949960709,-0.003060819348320,0.041878592222929,0.048782095313072,-0.211132392287254,-0.083212509751320,-0.028970586135983,-0.019867625087500) * MODEL12_texOff(vec2(1,0));
res += mat4(-0.021594692021608,0.244255051016808,-0.068372003734112,-0.027641249820590,0.072957612574100,0.052038926631212,-0.020716726779938,0.037040643393993,-0.097100123763084,0.057161115109921,-0.053504019975662,0.039846967905760,0.078354842960835,0.080280818045139,-0.132074981927872,-0.263416588306427) * MODEL12_texOff(vec2(1,1));
res = max(res, vec4(0.0)) + vec4(0.289623171091080,0.466450631618500,0.006657416932285,0.401006847620010) * min(res, vec4(0.0));
return res;
}

//!HOOK LUMA
//!WHEN OUTPUT.w LUMA.w 2.200 * > OUTPUT.h LUMA.h 2.200 * > *
//!COMPONENTS 4
//!BIND MODEL7
//!BIND MODEL8
//!BIND MODEL9
//!BIND MODEL10
//!BIND MODEL11
//!BIND MODEL12
//!SAVE MODEL5
//!DESC [AiUpscale_HQ_Sharp_3x_LineArt] mapping 3_5

vec4 hook()
{
vec4 res = vec4(-0.134821057319641,-0.233711883425713,0.018952682614326,-0.059459194540977);
res += mat4(0.007577403448522,-0.157875388860703,0.239851906895638,0.171398505568504,-0.011741009540856,-0.006201373413205,0.244724735617638,0.310431599617004,0.034284595400095,-0.042914941906929,-0.103183157742023,0.148069068789482,-0.202964976429939,0.082973502576351,-0.175638422369957,-0.332827180624008) * MODEL7_texOff(vec2(-1,-1));
res += mat4(0.025231374427676,-0.257850885391235,-0.083947040140629,0.163010179996490,0.031939189881086,0.029582314193249,-0.107947431504726,-0.093673899769783,-0.100216895341873,-0.021829569712281,-0.320420801639557,-0.174486279487610,0.467316985130310,-0.107857674360275,0.294631242752075,-0.029822969809175) * MODEL7_texOff(vec2(-1,0));
res += mat4(0.026987811550498,-0.229808613657951,0.048779562115669,-0.167381390929222,0.006042607594281,0.076325505971909,0.082122094929218,0.011808070354164,0.097565509378910,0.139232903718948,0.042745288461447,0.179098933935165,0.059340909123421,0.033275488764048,-0.082320660352707,-0.109406061470509) * MODEL7_texOff(vec2(-1,1));
res += mat4(-0.162293076515198,-0.037261735647917,0.273641258478165,-0.043711140751839,-0.311265796422958,-0.072364203631878,-0.053856331855059,0.218111336231232,-0.215770810842514,0.099416293203831,-0.067519180476665,-0.061777457594872,-0.185677170753479,0.122728765010834,-0.044898569583893,0.129927098751068) * MODEL7_texOff(vec2(0,-1));
res += mat4(0.028280984610319,-0.188661575317383,-0.087330393493176,-0.075632445514202,0.062947735190392,0.011594315059483,-0.078119114041328,-0.084825247526169,0.402869403362274,-0.283034384250641,0.083499073982239,-0.220830425620079,-0.000522463815287,-0.165818095207214,0.183891490101814,0.327676922082901) * MODEL7_texOff(vec2(0,0));
res += mat4(0.001605210592970,0.189457327127457,-0.015108902938664,-0.188556134700775,-0.134919077157974,-0.074388362467289,0.085882343351841,0.207763269543648,-0.136712789535522,0.183468118309975,-0.229734078049660,0.296882629394531,0.042528554797173,-0.372840464115143,0.031353719532490,-0.048970825970173) * MODEL7_texOff(vec2(0,1));
res += mat4(-0.046514477580786,-0.030651573091745,0.173776850104332,-0.041032165288925,-0.254850596189499,0.075950168073177,0.023801019415259,-0.034071620553732,-0.009261989034712,0.013865777291358,-0.285529136657715,-0.129188224673271,-0.010927405208349,0.091852106153965,-0.150129184126854,-0.141200214624405) * MODEL7_texOff(vec2(1,-1));
res += mat4(-0.042986247688532,0.020698271691799,0.003103274852037,-0.120921425521374,0.083514817059040,-0.125579178333282,-0.174823313951492,-0.296914994716644,-0.073361165821552,0.189745634794235,-0.035217564553022,0.109916284680367,0.129469260573387,0.014045334421098,0.087173186242580,-0.123716846108437) * MODEL7_texOff(vec2(1,0));
res += mat4(-0.059921897947788,0.070410802960396,-0.090244300663471,-0.030045572668314,0.026949465274811,-0.003669688710943,0.046053037047386,0.047071270644665,-0.122103162109852,0.015737714245915,0.048515412956476,0.147479280829430,0.039524734020233,-0.043151956051588,-0.078678846359253,-0.113876305520535) * MODEL7_texOff(vec2(1,1));
res += mat4(0.094115711748600,0.014294601976871,0.020469691604376,0.082614012062550,0.147259682416916,0.088176280260086,0.063608705997467,-0.083017155528069,-0.074952788650990,0.005740005988628,-0.007775647100061,0.206170767545700,0.009551045484841,0.015783425420523,0.122899226844311,0.052972231060266) * MODEL8_texOff(vec2(-1,-1));
res += mat4(-0.151210650801659,0.059050057083368,-0.161161214113235,-0.036948051303625,0.119271554052830,0.160311952233315,0.161866188049316,0.139890313148499,-0.043643604964018,0.008742955513299,0.104846179485321,0.084776468575001,-0.247512504458427,0.015774928033352,-0.183122202754021,-0.025107117369771) * MODEL8_texOff(vec2(-1,0));
res += mat4(0.089730709791183,0.008820869959891,-0.102361544966698,0.096458055078983,-0.052294794470072,-0.068921700119972,-0.160395458340645,0.045499630272388,-0.127755388617516,-0.031427312642336,-0.015298251993954,0.045598257333040,0.004904852714390,0.013385837897658,0.140457451343536,0.007285781670362) * MODEL8_texOff(vec2(-1,1));
res += mat4(-0.016071941703558,0.146213203668594,-0.330439686775208,-0.092605352401733,0.303235679864883,0.007424210663885,-0.182262539863586,0.030282838270068,-0.153060376644135,0.021610118448734,0.056468069553375,0.370962053537369,0.180945426225662,0.083492890000343,-0.021349659189582,0.032444205135107) * MODEL8_texOff(vec2(0,-1));
res += mat4(0.319182962179184,0.125531926751137,0.270470052957535,-0.099096789956093,-0.083759486675262,0.250698328018188,-0.040693201124668,-0.112327098846436,-0.310493558645248,-0.126973092556000,-0.245018675923347,-0.027343168854713,0.239198863506317,0.096979558467865,-0.139608964323997,-0.230375498533249) * MODEL8_texOff(vec2(0,0));
res += mat4(-0.282352775335312,0.030618792399764,-0.315364152193069,0.289815515279770,0.099805891513824,0.112375989556313,0.093219362199306,-0.026789821684361,0.172786638140678,0.097116790711880,0.010472850874066,0.233043015003204,0.020018303766847,0.288598835468292,0.005914023611695,-0.297971278429031) * MODEL8_texOff(vec2(0,1));
res += mat4(-0.104735374450684,0.003303113160655,-0.068406872451305,-0.019888285547495,-0.026327805593610,-0.033190313726664,0.177241533994675,-0.024026930332184,-0.035692989826202,-0.005533450748771,-0.120403535664082,-0.036238826811314,-0.000070488087658,-0.026773046702147,0.074173316359520,-0.036830037832260) * MODEL8_texOff(vec2(1,-1));
res += mat4(-0.090827137231827,-0.174178138375282,0.305062115192413,-0.034123960882425,0.055916193872690,-0.293440133333206,0.088060677051544,-0.053864195942879,-0.279883176088333,-0.064417816698551,-0.354266047477722,-0.390863895416260,0.140115439891815,0.070465303957462,0.138175472617149,0.030969018116593) * MODEL8_texOff(vec2(1,0));
res += mat4(-0.062224987894297,-0.159886509180069,-0.008717142976820,-0.109718792140484,0.154604747891426,0.059317607432604,0.075716860592365,-0.097465708851814,0.132155522704124,0.063544921576977,-0.233555302023888,-0.149467825889587,-0.050314061343670,-0.009573584422469,0.094938129186630,0.082306832075119) * MODEL8_texOff(vec2(1,1));
res += mat4(0.060790393501520,-0.159757360816002,-0.130223557353020,0.025237642228603,-0.041901849210262,0.060241602361202,-0.462981879711151,0.043426517397165,-0.007674021646380,-0.081630922853947,0.127315044403076,0.093869253993034,0.047037757933140,-0.039752017706633,-0.257882922887802,-0.002028908114880) * MODEL9_texOff(vec2(-1,-1));
res += mat4(-0.005855652969331,0.036180879920721,-0.180716648697853,-0.168635264039040,-0.087050892412663,-0.071864448487759,-0.179775714874268,-0.107377395033836,-0.214669704437256,0.008720480836928,-0.259036004543304,0.032377686351538,0.117262661457062,-0.046706590801477,-0.188688188791275,-0.061149317771196) * MODEL9_texOff(vec2(-1,0));
res += mat4(0.083845980465412,0.003334126435220,-0.008193472400308,-0.437152147293091,0.026037968695164,0.132887408137321,-0.067810952663422,0.102949641644955,0.003927783109248,-0.118735767900944,0.036738321185112,-0.029565930366516,-0.060019593685865,-0.139574915170670,-0.110146336257458,0.039939362555742) * MODEL9_texOff(vec2(-1,1));
res += mat4(-0.014389329589903,-0.052566006779671,0.043181207031012,0.025024389848113,0.036820404231548,-0.129241511225700,0.153845936059952,0.034712731838226,-0.193586751818657,0.110193803906441,0.064999245107174,0.026542842388153,-0.167940631508827,-0.020777493715286,0.014120704494417,0.027922758832574) * MODEL9_texOff(vec2(0,-1));
res += mat4(-0.130453690886497,0.189406231045723,-0.186498880386353,0.015551886521280,0.230920925736427,0.121044792234898,-0.018625507131219,-0.224028989672661,-0.055105883628130,-0.007143325638026,-0.106364302337170,0.176922634243965,-0.146771803498268,-0.123583823442459,0.089397184550762,-0.005385433323681) * MODEL9_texOff(vec2(0,0));
res += mat4(0.122367024421692,0.064652934670448,0.238508597016335,-0.275549322366714,0.232393682003021,0.206566646695137,0.094412714242935,-0.138721615076065,0.248937174677849,-0.026850437745452,-0.004342977888882,-0.064112260937691,-0.146234542131424,-0.029662949964404,-0.003300956450403,-0.060346439480782) * MODEL9_texOff(vec2(0,1));
res += mat4(0.080912776291370,-0.093851819634438,0.059919796884060,0.056185167282820,-0.084328308701515,-0.039873383939266,0.118653841316700,-0.066904559731483,0.025560200214386,-0.039477523416281,-0.040206018835306,-0.007071901112795,-0.106056816875935,-0.008156553842127,-0.024378186091781,-0.040956679731607) * MODEL9_texOff(vec2(1,-1));
res += mat4(-0.027928829193115,-0.175805523991585,-0.154164150357246,0.139117792248726,0.449935883283615,0.106948882341385,0.200846090912819,-0.020239314064384,0.077819615602493,0.076225489377975,0.077714994549751,-0.107312545180321,-0.048864271491766,-0.206733390688896,-0.017928862944245,-0.029767025262117) * MODEL9_texOff(vec2(1,0));
res += mat4(-0.062582604587078,-0.084912419319153,0.050812538713217,-0.031968578696251,0.122315242886543,0.136901393532753,-0.018559968098998,-0.093606874346733,0.097107708454132,0.048788774758577,-0.072578243911266,0.124345019459724,-0.083016447722912,-0.231962576508522,0.201436698436737,-0.030008796602488) * MODEL9_texOff(vec2(1,1));
res += mat4(-0.063657775521278,0.046824984252453,0.164736807346344,-0.059038568288088,0.042210053652525,-0.005956154782325,-0.274029880762100,-0.106207013130188,0.155721426010132,0.117649346590042,-0.099514074623585,-0.009930553846061,-0.023425888270140,-0.110438071191311,-0.053934928029776,-0.020658705383539) * MODEL10_texOff(vec2(-1,-1));
res += mat4(0.004810481332242,0.010739308781922,0.153686732053757,0.133849650621414,0.077645704150200,0.007343846373260,0.000877300801221,-0.063563004136086,-0.076839998364449,0.389490813016891,0.008023297414184,0.143838942050934,0.007207437884063,-0.281443715095520,0.233889028429985,0.131832525134087) * MODEL10_texOff(vec2(-1,0));
res += mat4(-0.016750497743487,-0.031762339174747,0.143628135323524,-0.092617698013783,-0.050156190991402,0.272529572248459,-0.162346780300140,0.167805701494217,0.047434296458960,0.064959101378918,-0.119078256189823,0.046982470899820,0.105683624744415,-0.080016404390335,0.119535766541958,-0.184668004512787) * MODEL10_texOff(vec2(-1,1));
res += mat4(0.290163874626160,-0.046923443675041,-0.264633357524872,-0.053089875727892,0.024844432249665,-0.101476348936558,-0.263250976800919,-0.074114315211773,-0.062687814235687,0.097219280898571,0.087535545229912,0.013900773599744,-0.105516999959946,-0.096558555960655,0.230383932590485,-0.011399391107261) * MODEL10_texOff(vec2(0,-1));
res += mat4(-0.169148489832878,0.222488045692444,-0.585450708866119,0.079145647585392,0.198091685771942,-0.153557538986206,-0.247485071420670,-0.375810176134109,-0.119032569229603,-0.191868454217911,0.103804439306259,0.355004876852036,0.045207556337118,-0.096945524215698,0.293024033308029,-0.175987318158150) * MODEL10_texOff(vec2(0,0));
res += mat4(0.198312774300575,-0.128313317894936,0.198293909430504,-0.401628136634827,-0.089348457753658,0.353650987148285,-0.286092907190323,0.081039510667324,0.020046167075634,0.184028685092926,0.059674564749002,0.197853848338127,-0.027178866788745,-0.357493638992310,0.412427246570587,-0.045288663357496) * MODEL10_texOff(vec2(0,1));
res += mat4(-0.022602979093790,0.059621833264828,0.121118418872356,-0.038464762270451,-0.305168986320496,0.074880518019199,-0.076151177287102,0.163228318095207,-0.026661546900868,0.117218047380447,0.091526307165623,-0.017040913924575,-0.003346466459334,-0.210685849189758,0.470129579305649,0.134310975670815) * MODEL10_texOff(vec2(1,-1));
res += mat4(-0.424089401960373,-0.197372362017632,0.018622646108270,0.067360810935497,0.011339658871293,0.094447955489159,-0.136432066559792,0.152492284774780,-0.108260951936245,0.064667537808418,0.002703589620069,-0.077963061630726,0.110803201794624,-0.287505120038986,0.240609064698219,0.102994397282600) * MODEL10_texOff(vec2(1,0));
res += mat4(0.027236683294177,-0.255955368280411,0.047864843159914,0.017958387732506,-0.030562017112970,-0.060565195977688,0.045630332082510,-0.046568930149078,0.019779628142715,-0.030125953257084,-0.071851171553135,-0.206111416220665,-0.017062721773982,-0.165733844041824,0.270831376314163,0.024610916152596) * MODEL10_texOff(vec2(1,1));
res += mat4(-0.344388037919998,-0.169865325093269,-0.081077188253403,-0.098171100020409,-0.254682034254074,-0.101358309388161,0.027284102514386,0.198550894856453,0.125109508633614,0.046557825058699,0.095663331449032,0.132642328739166,-0.258975833654404,0.059095848351717,0.154889047145844,-0.279744684696198) * MODEL11_texOff(vec2(-1,-1));
res += mat4(-0.136734604835510,0.004551441408694,0.040366455912590,-0.025787247344851,-0.142817199230194,0.003780726110563,-0.401258200407028,-0.109683044254780,0.108161002397537,0.118019022047520,-0.020534217357635,0.010994270443916,-0.125285521149635,0.047807663679123,-0.212890163064003,-0.049994230270386) * MODEL11_texOff(vec2(-1,0));
res += mat4(-0.028906673192978,-0.067239210009575,0.034536831080914,-0.028029544278979,-0.069977045059204,-0.069244533777237,-0.022432787343860,-0.191937521100044,0.045254409313202,0.083343915641308,-0.047804441303015,-0.100393757224083,-0.009015523828566,0.034276966005564,0.239721551537514,-0.043743692338467) * MODEL11_texOff(vec2(-1,1));
res += mat4(0.066960029304028,-0.123219139873981,-0.206157669425011,-0.153174519538879,-0.085337035357952,-0.071898177266121,-0.126777783036232,-0.061853457242250,0.120308034121990,0.146580040454865,-0.172273069620132,-0.000498603389133,0.009122862480581,-0.161289274692535,-0.013644366525114,0.165872216224670) * MODEL11_texOff(vec2(0,-1));
res += mat4(-0.101294152438641,0.249383121728897,-0.084035970270634,0.004199194256216,0.056836575269699,-0.188030138611794,-0.368844479322433,-0.037904769182205,0.095508791506290,0.319906294345856,0.182191014289856,-0.028506981208920,0.182688891887665,0.100265398621559,-0.035877756774426,-0.018826689571142) * MODEL11_texOff(vec2(0,0));
res += mat4(0.058435045182705,0.016407798975706,0.151210144162178,0.160752281546593,0.139170721173286,0.462660729885101,-0.147826597094536,-0.110308378934860,0.053146138787270,0.152442216873169,-0.323697865009308,0.214102521538734,0.084686443209648,0.141160488128662,0.062788970768452,-0.091435328125954) * MODEL11_texOff(vec2(0,1));
res += mat4(0.120586037635803,-0.065490558743477,0.071708060801029,-0.132437616586685,-0.076839514076710,-0.109031073749065,-0.104609303176403,-0.182140365242958,-0.007159057538956,0.049946885555983,-0.026681855320930,0.029035145416856,0.006534099113196,-0.024629507213831,0.009776668623090,0.034075986593962) * MODEL11_texOff(vec2(1,-1));
res += mat4(0.138136401772499,-0.064785204827785,-0.204076677560806,-0.092023096978664,0.169717401266098,-0.247499331831932,-0.026710001751781,0.101074039936066,0.141621515154839,0.130719423294067,0.115320861339569,0.050930555909872,0.088415369391441,-0.139494970440865,0.089666217565536,-0.151112437248230) * MODEL11_texOff(vec2(1,0));
res += mat4(0.097867213189602,0.037732392549515,-0.095997989177704,0.157123908400536,0.175917595624924,0.301096379756927,0.000853166682646,-0.106806479394436,-0.134049221873283,-0.251143723726273,-0.126949056982994,0.180543437600136,0.040850523859262,0.091705121099949,-0.014858429320157,0.223887234926224) * MODEL11_texOff(vec2(1,1));
res += mat4(-0.004232141654938,-0.004835547879338,-0.090541951358318,-0.107898272573948,0.110602773725986,-0.178024411201477,0.275128096342087,0.061666574329138,0.038200121372938,-0.038784142583609,0.098727405071259,-0.093228481709957,-0.055315267294645,0.037287656217813,0.018302546814084,-0.066004842519760) * MODEL12_texOff(vec2(-1,-1));
res += mat4(-0.077729642391205,-0.329707205295563,0.246640533208847,-0.073313154280186,-0.332998961210251,-0.213692560791969,-0.163702636957169,0.071488089859486,0.238336652517319,-0.037089377641678,0.053583309054375,-0.024807760491967,0.105685494840145,0.083412133157253,0.185986399650574,0.134288474917412) * MODEL12_texOff(vec2(-1,0));
res += mat4(-0.015237385407090,-0.322684884071350,0.096682503819466,-0.024314725771546,-0.103482447564602,-0.370163202285767,0.328942030668259,-0.004264876246452,-0.073076389729977,0.103849597275257,-0.171585366129875,0.095940053462982,-0.024400111287832,0.054817162454128,0.228151842951775,0.341611951589584) * MODEL12_texOff(vec2(-1,1));
res += mat4(-0.043161369860172,-0.176346838474274,-0.108330659568310,-0.046277854591608,-0.054097134619951,-0.165352553129196,-0.009353439323604,0.006144818849862,0.013718422502279,-0.028547434136271,0.068299174308777,0.016367601230741,0.054491762071848,0.007080898154527,-0.018053909763694,0.094301901757717) * MODEL12_texOff(vec2(0,-1));
res += mat4(0.022542474791408,-0.260730028152466,-0.004156003240496,-0.147402331233025,-0.174896582961082,-0.188872322440147,-0.000965792802162,-0.151793330907822,-0.133595302700996,0.139461189508438,-0.187358751893044,0.078682854771614,-0.056536961346865,0.032673314213753,0.038669351488352,-0.119633771479130) * MODEL12_texOff(vec2(0,0));
res += mat4(-0.035949382930994,-0.115735135972500,-0.023411188274622,-0.036646753549576,-0.073471009731293,-0.504837930202484,0.059764351695776,-0.015245102345943,-0.058627501130104,-0.007214049808681,0.023223400115967,0.034455407410860,0.205217480659485,0.184341773390770,0.170569956302643,0.177585273981094) * MODEL12_texOff(vec2(0,1));
res += mat4(-0.000510661571752,0.033737182617188,-0.041316971182823,-0.011097703129053,0.068186879158020,-0.077992916107178,0.002548757242039,-0.049324590712786,0.013117243535817,-0.084211654961109,0.060391224920750,0.037433613091707,0.092548370361328,0.043506205081940,0.150106236338615,-0.006701105739921) * MODEL12_texOff(vec2(1,-1));
res += mat4(-0.048180509358644,-0.098162889480591,0.070316039025784,-0.112141467630863,-0.072911873459816,-0.143162339925766,0.070240728557110,0.029217047616839,0.035669501870871,0.044453117996454,-0.189024135470390,0.079781122505665,-0.076140925288200,0.015893513336778,-0.057876482605934,0.060318287461996) * MODEL12_texOff(vec2(1,0));
res += mat4(-0.087701067328453,-0.090220659971237,-0.089298792183399,0.071717463433743,0.031183153390884,-0.064757347106934,0.072021178901196,-0.156634107232094,0.001200314261951,0.170812740921974,0.003913146909326,0.054128091782331,0.140273466706276,-0.082892522215843,-0.004056326113641,-0.209571108222008) * MODEL12_texOff(vec2(1,1));
res = max(res, vec4(0.0)) + vec4(0.058138258755207,0.011279580183327,0.083331167697906,0.331329464912415) * min(res, vec4(0.0));
return res;
}

//!HOOK LUMA
//!WHEN OUTPUT.w LUMA.w 2.200 * > OUTPUT.h LUMA.h 2.200 * > *
//!COMPONENTS 4
//!BIND MODEL7
//!BIND MODEL8
//!BIND MODEL9
//!BIND MODEL10
//!BIND MODEL11
//!BIND MODEL12
//!SAVE MODEL6
//!DESC [AiUpscale_HQ_Sharp_3x_LineArt] mapping 3_6

vec4 hook()
{
vec4 res = vec4(0.065650656819344,0.047896005213261,0.063075944781303,-0.026108568534255);
res += mat4(-0.354070931673050,0.353249222040176,0.029766529798508,0.110411792993546,-0.118093840777874,-0.064254306256771,-0.028453126549721,0.013593660667539,0.186919450759888,0.074142076075077,-0.037411917001009,0.127744853496552,-0.032894484698772,0.174840480089188,-0.004886032547802,0.159379228949547) * MODEL7_texOff(vec2(-1,-1));
res += mat4(-0.050881858915091,-0.150019377470016,-0.114432632923126,0.017204765230417,-0.002088863169774,-0.014838845469058,0.018072281032801,-0.162075117230415,0.091380946338177,-0.005568844266236,0.040206093341112,0.114495925605297,-0.058095544576645,-0.119875051081181,-0.253660351037979,0.642074763774872) * MODEL7_texOff(vec2(-1,0));
res += mat4(-0.099637411534786,0.024890417233109,-0.139945805072784,-0.044865459203720,-0.030083797872066,0.014766852371395,0.059818547219038,-0.024568701162934,0.019532645121217,0.039680130779743,0.105893492698669,0.068185642361641,-0.147338345646858,-0.035219240933657,0.041503272950649,-0.015141024254262) * MODEL7_texOff(vec2(-1,1));
res += mat4(0.078299112617970,-0.028929669409990,0.199283331632614,-0.044123791158199,-0.154057770967484,0.247746050357819,0.046471182256937,0.141620174050331,-0.304172545671463,0.413301974534988,0.003259388729930,0.001583606586792,-0.128402739763260,0.038464859127998,-0.035661868751049,-0.048550307750702) * MODEL7_texOff(vec2(0,-1));
res += mat4(0.080663248896599,-0.003725516609848,0.119313895702362,-0.032960377633572,0.200958847999573,0.092206440865993,-0.249086454510689,0.011861342936754,0.303231656551361,-0.003121483605355,-0.381901264190674,0.077073626220226,-0.484742403030396,-0.009042474441230,-0.132265195250511,-0.133386075496674) * MODEL7_texOff(vec2(0,0));
res += mat4(0.291877329349518,-0.021329158917069,-0.128007918596268,-0.005097113084048,-0.005686133634299,0.125648915767670,0.011567332781851,0.063703753054142,-0.049246918410063,0.029042841866612,0.317674756050110,-0.053432248532772,0.062378332018852,-0.008987193927169,-0.322305917739868,-0.053601630032063) * MODEL7_texOff(vec2(0,1));
res += mat4(0.112107798457146,0.043578926473856,0.046569507569075,0.029448250308633,-0.281803935766220,0.062451202422380,0.098023019731045,-0.016850352287292,0.182190537452698,-0.051958471536636,0.025813475251198,-0.027658931910992,0.005830368958414,-0.014517426490784,-0.011665557511151,0.031619235873222) * MODEL7_texOff(vec2(1,-1));
res += mat4(0.073658317327499,-0.010693648830056,0.042532868683338,0.042386371642351,0.139450535178185,0.108874402940273,-0.150832638144493,0.008621082641184,-0.130405023694038,-0.075225137174129,0.045151401311159,0.005152629222721,-0.086123257875443,-0.003813044866547,0.023866035044193,-0.029913008213043) * MODEL7_texOff(vec2(1,0));
res += mat4(-0.011102445423603,0.007686651777476,0.019736431539059,0.023793332278728,-0.197113215923309,0.103989265859127,-0.015927497297525,-0.014464293606579,-0.355100899934769,-0.068282969295979,0.097778126597404,-0.015790106728673,0.252074420452118,-0.028561735525727,0.015623556450009,0.022753940895200) * MODEL7_texOff(vec2(1,1));
res += mat4(0.048491984605789,-0.012676035985351,-0.008375511504710,-0.099224127829075,0.111035130918026,-0.112125843763351,-0.110359296202660,0.041234962642193,0.036092087626457,-0.036404680460691,-0.102115012705326,-0.006280982866883,-0.039161916822195,0.262274265289307,-0.005781583487988,-0.060863379389048) * MODEL8_texOff(vec2(-1,-1));
res += mat4(-0.218375191092491,-0.070825532078743,0.110181011259556,-0.283131480216980,-0.053465195000172,0.045856561511755,0.214851051568985,-0.067470431327820,-0.107041113078594,-0.068770110607147,-0.001279762946069,0.035568498075008,-0.221279561519623,0.016220360994339,0.161274045705795,-0.442251890897751) * MODEL8_texOff(vec2(-1,0));
res += mat4(0.106432586908340,0.083215557038784,0.025749193504453,0.028955452144146,-0.112863264977932,-0.063367195427418,0.099474199116230,-0.009812559932470,-0.062578335404396,0.072266519069672,0.098500989377499,-0.163290902972221,-0.014345963485539,-0.019586859270930,-0.053983245044947,-0.013669884763658) * MODEL8_texOff(vec2(-1,1));
res += mat4(-0.320106297731400,0.243468463420868,0.084964975714684,0.079999119043350,0.017216315492988,0.108313187956810,-0.137710750102997,0.075664468109608,-0.252289652824402,-0.200119420886040,-0.043436970561743,-0.033135134726763,-0.084444507956505,-0.161568999290466,0.041200201958418,0.118505693972111) * MODEL8_texOff(vec2(0,-1));
res += mat4(0.193462654948235,-0.147206306457520,-0.158589497208595,0.146203503012657,0.087572015821934,-0.090157426893711,0.280106246471405,-0.042133115231991,-0.164591014385223,-0.092436619102955,-0.202119484543800,-0.370237201452255,0.198166146874428,0.192958280444145,0.093702606856823,0.222248449921608) * MODEL8_texOff(vec2(0,0));
res += mat4(-0.187659084796906,-0.062977232038975,0.240134984254837,-0.182456746697426,-0.109091363847256,0.066330209374428,-0.156340911984444,-0.092651039361954,0.007026126142591,-0.039157234132290,0.095740675926208,-0.114705346524715,0.178742483258247,-0.110013768076897,0.079599715769291,-0.048731293529272) * MODEL8_texOff(vec2(0,1));
res += mat4(0.123283497989178,-0.040974847972393,0.042765524238348,-0.109505832195282,-0.290987968444824,-0.182747036218643,-0.006100886967033,-0.124706156551838,-0.202584266662598,-0.101637117564678,-0.013260692358017,0.045127827674150,-0.111006952822208,0.054537545889616,-0.011632515117526,-0.010043808259070) * MODEL8_texOff(vec2(1,-1));
res += mat4(0.051112644374371,0.011178721673787,-0.103069007396698,-0.084929011762142,-0.211305052042007,0.003959294408560,-0.142017558217049,0.169275596737862,-0.107860073447227,-0.220234617590904,0.051155298948288,0.275458216667175,-0.034255221486092,0.122646585106850,-0.068510517477989,-0.012221305631101) * MODEL8_texOff(vec2(1,0));
res += mat4(-0.328516870737076,0.024315027520061,-0.072552293539047,0.026257740333676,0.042385548353195,0.003593944013119,0.023193251341581,0.072798185050488,0.018501210957766,-0.068198852241039,0.101717561483383,0.040599498897791,0.149447694420815,-0.077063985168934,0.075188323855400,0.009851093403995) * MODEL8_texOff(vec2(1,1));
res += mat4(-0.203851625323296,0.162859156727791,0.015997776761651,0.034482024610043,0.084234870970249,0.047189973294735,-0.027757417410612,-0.103826493024826,-0.036616437137127,0.107026502490044,-0.056071359664202,-0.054458562284708,-0.151490956544876,0.031626217067242,-0.006017413921654,-0.041998423635960) * MODEL9_texOff(vec2(-1,-1));
res += mat4(-0.299008548259735,-0.142247006297112,0.132130414247513,-0.164217174053192,0.232673019170761,-0.038527090102434,-0.003944235853851,0.060093138366938,-0.125525563955307,-0.051765196025372,0.084482580423355,-0.390451341867447,-0.151852548122406,-0.017393963411450,0.027878757566214,-0.010284395888448) * MODEL9_texOff(vec2(-1,0));
res += mat4(0.069544047117233,-0.019177429378033,-0.219793304800987,0.113280631601810,0.111225806176662,0.068054936826229,0.008070342242718,0.029130041599274,0.068240135908127,0.058543410152197,-0.158179357647896,-0.161996617913246,-0.199310243129730,-0.051495313644409,-0.004705724772066,-0.079365290701389) * MODEL9_texOff(vec2(-1,1));
res += mat4(-0.035094521939754,0.080780632793903,0.035392943769693,-0.072012796998024,-0.111913233995438,0.021907420828938,-0.100043497979641,0.112681709229946,-0.109767459332943,0.178899407386780,0.040320921689272,-0.147323787212372,-0.343845158815384,0.012446247972548,-0.002233092673123,-0.052141293883324) * MODEL9_texOff(vec2(0,-1));
res += mat4(0.048456531018019,0.110013827681541,-0.007389200851321,-0.151623412966728,-0.293605715036392,0.372352570295334,0.165080845355988,-0.014254864305258,0.180652529001236,-0.417178332805634,-0.327488094568253,0.206959217786789,-0.201158404350281,-0.050686985254288,-0.089510843157768,-0.020810436457396) * MODEL9_texOff(vec2(0,0));
res += mat4(-0.001251313020475,-0.155026912689209,-0.229155316948891,0.025594569742680,-0.088585972785950,0.010630790144205,0.009995306842029,-0.008771928958595,0.090413078665733,0.227926567196846,0.006000099238008,0.215347245335579,-0.127296492457390,-0.044084675610065,0.033346660435200,-0.034346181899309) * MODEL9_texOff(vec2(0,1));
res += mat4(0.076685152947903,-0.010940357111394,-0.047317393124104,0.035895850509405,-0.149110853672028,0.018566012382507,-0.037514455616474,-0.008072411641479,0.116419315338135,-0.146278038620949,-0.036257829517126,-0.015001221559942,0.027780348435044,0.005670581478626,0.027946857735515,-0.047184802591801) * MODEL9_texOff(vec2(1,-1));
res += mat4(0.194557100534439,-0.192671880125999,0.064455591142178,0.003018618328497,-0.212477132678032,-0.082204036414623,-0.082887582480907,-0.062622986733913,0.003770732786506,0.245794296264648,0.006798445712775,0.044375859200954,-0.401734799146652,0.026300311088562,0.076374925673008,-0.139196351170540) * MODEL9_texOff(vec2(1,0));
res += mat4(-0.009812199510634,-0.030059089884162,0.043338429182768,-0.055929213762283,0.026716981083155,-0.050740797072649,0.071650676429272,-0.002029401715845,-0.338077992200851,0.007478234358132,-0.014261957257986,-0.010473270900548,-0.078024059534073,0.008247040212154,-0.030054738745093,-0.088788822293282) * MODEL9_texOff(vec2(1,1));
res += mat4(-0.233404353260994,-0.037131614983082,0.068417757749557,0.049707431346178,0.047572460025549,-0.167807757854462,0.061269834637642,-0.164541393518448,0.041094191372395,0.081032134592533,-0.034062962979078,0.136590868234634,-0.153779119253159,-0.202930554747581,0.132300779223442,-0.032246910035610) * MODEL10_texOff(vec2(-1,-1));
res += mat4(0.078886508941650,0.023816309869289,-0.115081049501896,0.134006813168526,0.046181518584490,-0.182277739048004,-0.154469698667526,0.234945803880692,0.075414851307869,0.167213201522827,-0.079523876309395,-0.033510077744722,-0.116059057414532,-0.127884045243263,0.049439422786236,0.053231924772263) * MODEL10_texOff(vec2(-1,0));
res += mat4(0.013085854239762,-0.048019543290138,-0.106360584497452,-0.084481373429298,0.061593670397997,0.081358283758163,-0.189847797155380,0.035089518874884,-0.184419125318527,-0.068932197988033,0.060650326311588,0.088664084672928,0.300909668207169,-0.128749474883080,-0.224525809288025,0.028934054076672) * MODEL10_texOff(vec2(-1,1));
res += mat4(0.041182097047567,-0.126442015171051,0.091506272554398,0.057891663163900,0.219502583146095,-0.236218318343163,-0.042195182293653,-0.041118111461401,0.041047599166632,0.017560990527272,0.305678367614746,-0.122593365609646,-0.020927695557475,-0.181919783353806,0.007496559526771,-0.042611531913280) * MODEL10_texOff(vec2(0,-1));
res += mat4(-0.146325454115868,-0.086072288453579,0.632644295692444,0.114494428038597,0.055103115737438,-0.231314107775688,0.030052358284593,0.168738454580307,-0.051365554332733,0.088922038674355,-1.074703931808472,-0.065196715295315,-0.237069323658943,-0.084848754107952,-0.141419857740402,-0.179261773824692) * MODEL10_texOff(vec2(0,0));
res += mat4(0.044175148010254,-0.123543053865433,-0.242583334445953,-0.000517352658790,0.149107947945595,-0.048472899943590,0.159806892275810,-0.070064038038254,0.087918713688850,-0.056863494217396,0.107703901827335,-0.064971312880516,0.443424522876740,-0.121228173375130,-0.145506322383881,0.033498033881187) * MODEL10_texOff(vec2(0,1));
res += mat4(-0.085000731050968,0.032369352877140,0.043142821639776,-0.144555002450943,-0.054197702556849,0.020899141207337,0.100889191031456,-0.038534805178642,0.110645316541195,0.066300682723522,-0.025186048820615,-0.039581898599863,-0.067915007472038,-0.111747965216637,-0.062110740691423,-0.004889634903520) * MODEL10_texOff(vec2(1,-1));
res += mat4(-0.113635554909706,0.041131716221571,0.167592763900757,-0.065461784601212,-0.063083603978157,0.019971931353211,0.017216661944985,-0.072698287665844,0.104326739907265,-0.066680230200291,-0.208798840641975,-0.074198275804520,0.113620921969414,-0.139669418334961,0.016502065584064,-0.071865268051624) * MODEL10_texOff(vec2(1,0));
res += mat4(0.098748348653316,-0.041952688246965,-0.112285293638706,0.040480449795723,-0.025220002979040,0.081841684877872,-0.196444079279900,0.154055982828140,0.150483042001724,-0.049296740442514,-0.059457745403051,-0.079447932541370,0.032815996557474,-0.088232293725014,-0.004571136552840,-0.028588613495231) * MODEL10_texOff(vec2(1,1));
res += mat4(-0.281060695648193,-0.008903402835131,0.052651930600405,-0.031823705881834,-0.029898462817073,0.058253072202206,0.053526829928160,0.159288153052330,0.040532432496548,-0.002631876850501,0.005412691738456,0.115884192287922,-0.152932569384575,0.179058700799942,0.186745330691338,0.093626707792282) * MODEL11_texOff(vec2(-1,-1));
res += mat4(-0.181876689195633,0.036320619285107,-0.148568674921989,-0.114127464592457,-0.180406734347343,0.014231499284506,0.176502466201782,-0.137868359684944,0.136396214365959,0.020379133522511,0.035187598317862,-0.022197026759386,-0.004985237028450,0.038692075759172,0.199664399027824,-0.153351500630379) * MODEL11_texOff(vec2(-1,0));
res += mat4(0.188024193048477,0.028354257345200,-0.082796953618526,-0.004272477235645,0.062945052981377,-0.055835947394371,-0.193031877279282,0.019382210448384,-0.061090178787708,0.040532171726227,0.028407679870725,0.160100728273392,0.048709243535995,-0.020282551646233,-0.062592387199402,0.073606513440609) * MODEL11_texOff(vec2(-1,1));
res += mat4(0.370696216821671,-0.309605836868286,0.000975468894467,-0.017733808606863,-0.370896369218826,0.142320498824120,0.075644336640835,-0.125854104757309,0.089485749602318,0.068958975374699,0.062303420156240,0.088982664048672,-0.056474260985851,0.246501669287682,-0.070120364427567,0.086924090981483) * MODEL11_texOff(vec2(0,-1));
res += mat4(-0.123112618923187,0.043543271720409,0.010294618085027,-0.302074015140533,0.202302023768425,0.086900636553764,-0.036336455494165,-0.148804426193237,0.185245841741562,0.019278962165117,0.036313183605671,0.428542822599411,0.157239466905594,0.214124351739883,-0.120850682258606,0.058716796338558) * MODEL11_texOff(vec2(0,0));
res += mat4(0.250689983367920,0.059799104928970,0.174095585942268,0.143795788288116,0.119766250252724,-0.001661386457272,-0.091882795095444,0.014009071514010,0.000803819100838,-0.013269938528538,0.058344770222902,0.218199133872986,0.196183159947395,-0.046549949795008,0.147141799330711,-0.015971047803760) * MODEL11_texOff(vec2(0,1));
res += mat4(-0.448028028011322,0.110611811280251,-0.082911819219589,0.025390885770321,-0.104996807873249,0.043980840593576,0.106318309903145,-0.080465599894524,0.067458949983120,0.047024331986904,-0.068768508732319,0.104353316128254,0.153815358877182,-0.003147836541757,0.018974110484123,-0.080469273030758) * MODEL11_texOff(vec2(1,-1));
res += mat4(-0.036341775208712,0.026688691228628,-0.085219286382198,-0.008975363336504,-0.195737257599831,0.080579318106174,-0.165148809552193,0.132491141557693,-0.289630204439163,0.096125155687332,0.082068257033825,0.072489678859711,-0.241326034069061,0.107011273503304,-0.112448237836361,0.140776276588440) * MODEL11_texOff(vec2(1,0));
res += mat4(-0.280015587806702,0.037360198795795,0.154256045818329,0.002495939843357,-0.000817645865027,0.057932358235121,0.089059300720692,0.005105688702315,0.091578103601933,-0.061185680329800,-0.006556749809533,-0.072184719145298,-0.297488421201706,-0.033703576773405,0.074644930660725,-0.022476915270090) * MODEL11_texOff(vec2(1,1));
res += mat4(-0.098887898027897,0.129365056753159,0.048988044261932,-0.075364775955677,-0.079368434846401,-0.113246932625771,-0.092772684991360,0.006946184672415,0.130810305476189,0.073642097413540,0.034661915153265,0.111855328083038,-0.056072715669870,-0.151861473917961,0.015838479623199,-0.102456711232662) * MODEL12_texOff(vec2(-1,-1));
res += mat4(-0.179436743259430,0.101343415677547,0.051654592156410,0.056109212338924,-0.154837697744370,0.126786097884178,0.244258925318718,-0.312155336141586,-0.068208016455173,-0.073015838861465,0.008646356873214,0.372296065092087,0.114802405238152,0.100172169506550,-0.078254140913486,-0.083986379206181) * MODEL12_texOff(vec2(-1,0));
res += mat4(-0.164500504732132,0.040931809693575,-0.024406338110566,0.125310510396957,-0.227232709527016,-0.031480383127928,-0.287673145532608,-0.137771531939507,0.057019058614969,-0.031107399612665,-0.013798170723021,0.025584101676941,-0.017729511484504,0.040409415960312,0.120635062456131,0.011811203323305) * MODEL12_texOff(vec2(-1,1));
res += mat4(0.045041754841805,0.113262571394444,0.193546712398529,0.005159907042980,-0.207889586687088,-0.135453954339027,0.023140449076891,-0.040072288364172,0.008459828794003,-0.031727403402328,-0.011178755201399,0.049932599067688,0.176681131124496,-0.277044832706451,-0.120992794632912,0.036579240113497) * MODEL12_texOff(vec2(0,-1));
res += mat4(0.230065435171127,-0.270694702863693,0.064519844949245,-0.347500085830688,0.362956643104553,-0.322953283786774,0.087698675692081,0.123318329453468,-0.049985822290182,0.075680375099182,0.174515545368195,-0.036783188581467,0.020662164315581,-0.022697709500790,0.123405255377293,-0.127614453434944) * MODEL12_texOff(vec2(0,0));
res += mat4(0.007781023159623,0.025789491832256,-0.097759023308754,-0.007133927196264,0.014108690433204,-0.116215094923973,0.238495096564293,-0.072767458856106,0.140318572521210,0.023829057812691,0.142542064189911,-0.061109397560358,-0.062425870448351,0.004436109215021,0.219102844595909,0.080701246857643) * MODEL12_texOff(vec2(0,1));
res += mat4(0.066808149218559,-0.078585855662823,0.033463928848505,-0.150505036115646,0.146987602114677,-0.032480277121067,0.008460349403322,-0.017464758828282,-0.174600839614868,0.090461641550064,0.013067137449980,-0.147276312112808,-0.011473858729005,0.180268928408623,-0.001127728261054,-0.048657666891813) * MODEL12_texOff(vec2(1,-1));
res += mat4(-0.005546478088945,-0.094552330672741,-0.202782899141312,-0.000466127938125,-0.063843399286270,-0.087430953979492,0.037361916154623,-0.038131292909384,-0.203434213995934,0.116270929574966,-0.019121643155813,-0.054729055613279,0.248545870184898,-0.032823249697685,0.020970061421394,-0.100869141519070) * MODEL12_texOff(vec2(1,0));
res += mat4(0.021753219887614,-0.047449517995119,0.041530318558216,-0.116231553256512,-0.287644177675247,-0.037945538759232,-0.072305649518967,0.059320475906134,-0.039083089679480,0.050750300288200,0.052492067217827,-0.045723289251328,0.018915057182312,-0.002921396400779,-0.169107154011726,-0.048786483705044) * MODEL12_texOff(vec2(1,1));
res = max(res, vec4(0.0)) + vec4(0.066990010440350,0.846537411212921,-0.365620642900467,-0.289957582950592) * min(res, vec4(0.0));
return res;
}

//!HOOK LUMA
//!WHEN OUTPUT.w LUMA.w 2.200 * > OUTPUT.h LUMA.h 2.200 * > *
//!COMPONENTS 4
//!BIND MODEL1
//!BIND MODEL2
//!BIND MODEL3
//!BIND MODEL4
//!BIND MODEL5
//!BIND MODEL6
//!BIND FEATURE1
//!SAVE MODEL7
//!DESC [AiUpscale_HQ_Sharp_3x_LineArt] mapping 4_1

vec4 hook()
{
vec4 res = vec4(0.091312363743782,0.063546381890774,-0.060799524188042,0.365366816520691);
res += mat4(-0.178803920745850,-0.031258422881365,-0.075904376804829,-0.072779752314091,-0.102367863059044,0.057871386408806,0.082237295806408,0.279572337865829,0.090038634836674,-0.096364356577396,0.370003044605255,-0.206985101103783,-0.221465483307838,-0.006836812011898,-0.076084770262241,0.209599062800407) * MODEL1_texOff(vec2(-1,-1));
res += mat4(-0.539977192878723,-0.296345204114914,-0.091112323105335,-0.264187604188919,-0.003983377944678,0.036319036036730,-0.090850517153740,-0.027585608884692,0.283234536647797,0.047727108001709,0.122016452252865,-0.119916968047619,-0.275336951017380,-0.191774293780327,0.002369953785092,0.067928835749626) * MODEL1_texOff(vec2(-1,0));
res += mat4(-0.396962761878967,-0.032868798822165,0.198923632502556,-0.475319296121597,0.000929222558625,-0.070765092968941,0.030593285337090,-0.132234379649162,0.005362016148865,0.190183788537979,-0.516296327114105,0.026964435353875,0.054584529250860,-0.014233473688364,-0.018540946766734,0.074982360005379) * MODEL1_texOff(vec2(-1,1));
res += mat4(-0.159770414233208,-0.112824752926826,0.010139421559870,0.023721614852548,0.087023608386517,-0.313405811786652,0.391365379095078,0.145558580756187,-0.287890970706940,0.029472159221768,-0.529822409152985,0.022098651155829,-0.157480731606483,-0.058099467307329,0.159942775964737,-0.095194920897484) * MODEL1_texOff(vec2(0,-1));
res += mat4(-0.198083475232124,0.060231748968363,0.020812077447772,0.009994297288358,0.053826257586479,0.118493013083935,0.194094896316528,-0.261453598737717,0.083355695009232,0.002757312031463,0.209270387887955,-0.035671330988407,-0.069777771830559,-0.250605404376984,0.209883674979210,-0.350880712270737) * MODEL1_texOff(vec2(0,0));
res += mat4(-0.151120901107788,-0.139255970716476,0.153647944331169,-0.256203323602676,-0.047222610563040,0.129120975732803,-0.035280637443066,-0.042852018028498,-0.006023351568729,0.092421010136604,0.367295056581497,0.141558200120926,-0.150372490286827,-0.134815707802773,0.163567960262299,-0.242662459611893) * MODEL1_texOff(vec2(0,1));
res += mat4(0.115820668637753,0.048205040395260,-0.146529287099838,0.022981422021985,0.136232256889343,-0.052881989628077,0.188587740063667,0.112657815217972,-0.220912516117096,0.212827101349831,0.380793094635010,0.060193199664354,0.026115050539374,-0.083149038255215,-0.168743833899498,-0.118789039552212) * MODEL1_texOff(vec2(1,-1));
res += mat4(0.010833844542503,-0.127777248620987,-0.008369447663426,0.162196099758148,0.161224588751793,0.061976306140423,-0.304829448461533,0.105329133570194,-0.008224450983107,0.097511440515518,-0.053719453513622,0.006404580082744,0.230067923665047,-0.054617073386908,-0.108622781932354,-0.386047422885895) * MODEL1_texOff(vec2(1,0));
res += mat4(-0.035911507904530,0.000391391251469,0.113861292600632,-0.128152161836624,0.090290129184723,-0.000663334620185,-0.173665419220924,0.120303601026535,-0.051650393754244,-0.120944537222385,-0.335963070392609,-0.190805315971375,0.102162137627602,-0.006368434056640,0.297049015760422,-0.142614334821701) * MODEL1_texOff(vec2(1,1));
res += mat4(-0.020505961030722,0.076729282736778,0.063325129449368,-0.096722006797791,0.331415593624115,-0.172108918428421,0.150302693247795,0.125059381127357,-0.334720253944397,0.051057260483503,-0.154915034770966,0.208474934101105,0.046316556632519,-0.022787902504206,0.004331851378083,0.427190423011780) * MODEL2_texOff(vec2(-1,-1));
res += mat4(-0.024522621184587,0.152754545211792,-0.021639466285706,-0.194150179624557,0.112126290798187,0.177566647529602,-0.009574647061527,-0.064611397683620,0.142557963728905,0.055288251489401,0.073304541409016,0.210153356194496,-0.039970580488443,0.060512971132994,0.024726906791329,0.049616128206253) * MODEL2_texOff(vec2(-1,0));
res += mat4(-0.033013220876455,-0.109720908105373,0.074170887470245,-0.190154567360878,0.321109175682068,-0.065396308898926,-0.209744513034821,0.097777515649796,-0.037446416914463,0.182712927460670,0.187149018049240,0.157237663865089,-0.002806061645970,-0.019169013947248,-0.018666641786695,0.237191691994667) * MODEL2_texOff(vec2(-1,1));
res += mat4(0.037335429340601,0.131908997893333,0.098110653460026,-0.065510638058186,0.000304665794829,-0.071035511791706,-0.356756478548050,-0.028147256001830,-0.090468011796474,-0.110577464103699,-0.159848675131798,-0.312791824340820,-0.027438417077065,-0.030329771339893,0.164337962865829,-0.074144795536995) * MODEL2_texOff(vec2(0,-1));
res += mat4(-0.100613757967949,0.164729416370392,0.067929461598396,-0.124767877161503,0.129467472434044,0.047390818595886,-0.439736843109131,-0.042177099734545,0.102102674543858,0.057803545147181,0.047559261322021,-0.144676491618156,0.137660175561905,-0.156973317265511,-0.219166472554207,0.308567047119141) * MODEL2_texOff(vec2(0,0));
res += mat4(-0.001113514415920,0.084714807569981,-0.188891962170601,-0.060608092695475,-0.073109656572342,0.208032473921776,-0.013955905102193,0.051688171923161,0.169081404805183,-0.029511580243707,0.265799462795258,0.114810951054096,-0.093264326453209,-0.019651124253869,-0.025765409693122,0.215344518423080) * MODEL2_texOff(vec2(0,1));
res += mat4(0.302460640668869,-0.051132328808308,0.221154987812042,-0.213292852044106,-0.137123689055443,0.045420885086060,0.084701955318451,0.163495361804962,-0.081810906529427,0.016315821558237,-0.186138883233070,-0.093892000615597,0.020948281511664,-0.108904182910919,0.151778802275658,-0.029411775991321) * MODEL2_texOff(vec2(1,-1));
res += mat4(0.175107732415199,-0.029915798455477,-0.017718901857734,-0.029357643797994,-0.018606454133987,0.284720152616501,0.079110212624073,-0.015416388399899,0.053968556225300,0.161060735583305,-0.014528153464198,-0.213405594229698,0.067660823464394,-0.189491495490074,0.148339599370956,0.173356384038925) * MODEL2_texOff(vec2(1,0));
res += mat4(0.094050951302052,0.052329834550619,0.076874494552612,-0.063145115971565,-0.117619186639786,-0.030276648700237,-0.074539236724377,-0.041016519069672,0.051945026963949,0.039794541895390,0.075078837573528,0.115544416010380,-0.032150156795979,-0.069214940071106,-0.008825705386698,0.023256558924913) * MODEL2_texOff(vec2(1,1));
res += mat4(-0.035110414028168,-0.038651745766401,0.134576007723808,0.229785278439522,0.158838063478470,0.035192757844925,0.218810677528381,-0.104002349078655,0.070905961096287,-0.160174161195755,-0.098226808011532,-0.135006681084633,-0.059255044907331,-0.015557406470180,0.253679186105728,0.165447846055031) * MODEL3_texOff(vec2(-1,-1));
res += mat4(-0.286321669816971,-0.100496441125870,-0.075657464563847,0.078462190926075,-0.014427982270718,-0.066132515668869,-0.151026591658592,-0.052344895899296,0.381827712059021,-0.348896473646164,0.135331571102142,0.040445033460855,-0.011771126650274,0.069239802658558,0.031300224363804,-0.038095980882645) * MODEL3_texOff(vec2(-1,0));
res += mat4(-0.190345600247383,-0.078947342932224,-0.205340415239334,0.166774332523346,0.236586004495621,-0.091242581605911,0.055508766323328,0.033796619623899,-0.199508473277092,-0.025071738287807,-0.109711684286594,0.084510348737240,0.035305026918650,-0.039656724780798,0.001787826768123,0.057492434978485) * MODEL3_texOff(vec2(-1,1));
res += mat4(-0.387785285711288,-0.071926467120647,-0.115134038031101,0.024086590856314,0.138463869690895,-0.016459509730339,0.051697321236134,0.134179413318634,0.036281451582909,0.006635597907007,0.210543081164360,-0.025436652824283,-0.000089461420430,-0.021792348474264,-0.116271615028381,-0.031089225783944) * MODEL3_texOff(vec2(0,-1));
res += mat4(-0.282794952392578,-0.455424755811691,0.165398731827736,-0.028133476153016,-0.018955882638693,0.318934381008148,-0.364667296409607,0.152764081954956,0.134663775563240,-0.147791191935539,0.166415885090828,-0.206354215741158,-0.219254925847054,-0.055557258427143,-0.219929322600365,0.158069282770157) * MODEL3_texOff(vec2(0,0));
res += mat4(-0.399566292762756,-0.074049957096577,-0.017239332199097,0.186414465308189,0.130950018763542,-0.174939900636673,0.035224154591560,-0.131661176681519,0.064399443566799,0.010688680224121,-0.190318435430527,-0.087673380970955,-0.028041146695614,-0.177256464958191,-0.055912096053362,0.137657299637794) * MODEL3_texOff(vec2(0,1));
res += mat4(-0.115328915417194,-0.199824661016464,-0.026793617755175,0.050478268414736,-0.097438625991344,0.014025939628482,-0.061212532222271,0.101142741739750,-0.077796921133995,0.108316741883755,-0.039385251700878,0.071569591760635,-0.174325883388519,-0.086293838918209,0.412262946367264,0.212066501379013) * MODEL3_texOff(vec2(1,-1));
res += mat4(0.037589237093925,-0.288126617670059,0.028673548251390,-0.297557055950165,0.128738999366760,0.031081762164831,0.190583139657974,0.272929817438126,-0.034604772925377,0.084086120128632,-0.050167698413134,-0.062229115515947,0.235922038555145,0.039009705185890,0.276722580194473,-0.017248265445232) * MODEL3_texOff(vec2(1,0));
res += mat4(-0.011024918407202,-0.137742444872856,0.155796766281128,0.148941367864609,0.020056935027242,-0.185097575187683,0.210439532995224,-0.035453822463751,0.056764215230942,0.043390054255724,0.017469990998507,-0.187441840767860,-0.039221975952387,-0.152609527111053,0.119861207902431,-0.028472160920501) * MODEL3_texOff(vec2(1,1));
res += mat4(-0.040984813123941,-0.031043628230691,0.129750728607178,0.230180889368057,0.103323720395565,-0.052441481500864,0.218338310718536,-0.075031489133835,-0.257348597049713,-0.032702729105949,-0.113958418369293,-0.113806590437889,-0.230642333626747,-0.148049890995026,0.311608791351318,-0.182846263051033) * MODEL4_texOff(vec2(-1,-1));
res += mat4(0.029074983671308,-0.142397373914719,-0.027541685849428,0.229285001754761,0.307401984930038,0.195496961474419,0.102894216775894,0.080476887524128,-0.081080347299576,-0.144570320844650,-0.138618528842926,0.026453591883183,-0.138768926262856,-0.047629095613956,-0.048292286694050,0.289157927036285) * MODEL4_texOff(vec2(-1,0));
res += mat4(0.079103253781796,0.037856645882130,0.015347065404058,0.043419349938631,0.105673201382160,-0.017370127141476,0.024421099573374,-0.067431233823299,0.075744867324829,-0.020070521160960,-0.216502442955971,-0.017247084528208,-0.085330024361610,-0.057274274528027,-0.050068780779839,0.163797140121460) * MODEL4_texOff(vec2(-1,1));
res += mat4(-0.090494386851788,-0.031421031802893,-0.045936651527882,0.021093942224979,-0.032314911484718,0.008384541608393,-0.077533699572086,-0.541109204292297,0.137454941868782,-0.076879933476448,-0.297136306762695,-0.027754422277212,-0.181521907448769,0.084806643426418,-0.153792887926102,-0.243861526250839) * MODEL4_texOff(vec2(0,-1));
res += mat4(-0.147943139076233,0.027474805712700,-0.116213880479336,-0.151764601469040,0.086633846163750,0.254216194152832,-0.243638426065445,-0.012671536765993,0.150381207466125,0.080636180937290,0.099245823919773,0.003106481395662,-0.146772772073746,-0.059957943856716,0.003455828409642,0.284613013267517) * MODEL4_texOff(vec2(0,0));
res += mat4(0.051534578204155,0.211174249649048,0.095247991383076,0.128574803471565,-0.126395955681801,0.050868466496468,-0.049458820372820,-0.238427460193634,-0.010433887131512,0.049966786056757,0.036817017942667,0.188052460551262,-0.062644630670547,-0.001404716516845,0.012007675133646,0.071775861084461) * MODEL4_texOff(vec2(0,1));
res += mat4(-0.012493329122663,0.010005758143961,0.139366254210472,-0.096109643578529,-0.169314116239548,-0.086575075984001,-0.125350445508957,0.066317588090897,0.279513686895370,-0.143531680107117,-0.356413811445236,-0.027738118544221,0.186114057898521,-0.002650737762451,-0.092912822961807,-0.426465570926666) * MODEL4_texOff(vec2(1,-1));
res += mat4(0.007727388292551,-0.056385487318039,0.223393931984901,0.053222104907036,-0.212903156876564,0.196575924754143,0.004582626745105,-0.066795215010643,0.123585462570190,-0.154876112937927,-0.440154582262039,-0.130859389901161,0.082464523613453,0.011492134071887,-0.040409829467535,-0.079769097268581) * MODEL4_texOff(vec2(1,0));
res += mat4(0.123502776026726,0.032771743834019,0.041746247559786,0.060719944536686,-0.101638630032539,0.003773256205022,-0.050579994916916,-0.114553026854992,-0.135727733373642,0.048106979578733,-0.075181022286415,-0.083268046379089,0.019462643191218,0.087503552436829,0.118746042251587,-0.005754300393164) * MODEL4_texOff(vec2(1,1));
res += mat4(0.019014084711671,-0.035767920315266,-0.074531242251396,-0.073696963489056,0.003401172114536,-0.146819069981575,-0.111873030662537,-0.211544662714005,0.141131460666656,-0.184903204441071,-0.072828412055969,-0.235183998942375,-0.191636100411415,0.020423710346222,-0.009983018040657,0.217355117201805) * MODEL5_texOff(vec2(-1,-1));
res += mat4(-0.175601169466972,0.112328417599201,-0.287238359451294,0.072205565869808,-0.034603059291840,-0.104177385568619,0.275311619043350,-0.123548053205013,0.156657233834267,-0.162210494279861,-0.386599898338318,-0.176585212349892,-0.140440657734871,-0.017531733959913,0.302117049694061,-0.018616614863276) * MODEL5_texOff(vec2(-1,0));
res += mat4(-0.101718313992023,0.005599383730441,-0.101580709218979,0.105163022875786,-0.055752489715815,0.073320552706718,-0.073047935962677,0.054931361228228,0.018366120755672,-0.020074715837836,-0.097531020641327,0.093302391469479,-0.151125803589821,0.024909151718020,0.150085896253586,-0.005174517631531) * MODEL5_texOff(vec2(-1,1));
res += mat4(-0.098793126642704,0.124971047043800,-0.158070817589760,0.077826909720898,-0.161301463842392,0.184601604938507,-0.639711439609528,-0.275125265121460,0.179578959941864,-0.147921577095985,0.310649693012238,-0.018449014052749,0.085302129387856,-0.253062903881073,0.198611676692963,0.210274413228035) * MODEL5_texOff(vec2(0,-1));
res += mat4(-0.033533472567797,0.133584275841713,-0.255804181098938,-0.320743501186371,0.136256709694862,-0.191409751772881,-0.113655872642994,-0.164535835385323,-0.014074897393584,-0.197631925344467,0.121026873588562,-0.121912784874439,0.000031100968044,-0.107706621289253,0.151517078280449,0.114524051547050) * MODEL5_texOff(vec2(0,0));
res += mat4(0.055615957826376,-0.177165538072586,-0.010636173188686,0.032349027693272,-0.063694141805172,0.127184838056564,0.000411382177845,0.069284111261368,-0.041233200579882,-0.032251909375191,0.101106964051723,-0.214254260063171,-0.291373938322067,0.008108607493341,-0.157113045454025,0.088775441050529) * MODEL5_texOff(vec2(0,1));
res += mat4(-0.032038565725088,-0.086420185863972,-0.089471109211445,-0.041587837040424,-0.238254383206367,0.011227807030082,-0.042598225176334,-0.395687967538834,0.361340939998627,0.027874952182174,-0.058586563915014,0.293203026056290,0.201237425208092,-0.058009747415781,-0.012282713316381,-0.047068029642105) * MODEL5_texOff(vec2(1,-1));
res += mat4(0.056522548198700,-0.155691251158714,-0.188638418912888,-0.142099544405937,-0.023953365162015,-0.039180528372526,0.040034029632807,-0.002183276694268,0.278287410736084,-0.074925407767296,-0.163269236683846,-0.261858195066452,0.111016325652599,-0.009616546332836,0.196877002716064,-0.109626114368439) * MODEL5_texOff(vec2(1,0));
res += mat4(0.242956519126892,-0.119115248322487,0.155425935983658,0.077472150325775,-0.071612648665905,-0.005995640996844,-0.073333650827408,0.048002567142248,0.127440601587296,-0.012741253711283,0.006558679044247,-0.096173353493214,0.099066331982613,-0.033324997872114,-0.050525814294815,-0.321485877037048) * MODEL5_texOff(vec2(1,1));
res += mat4(-0.052893135696650,0.223082602024078,0.008372713811696,-0.099721856415272,0.004354635253549,-0.039759673178196,-0.086597785353661,-0.134472116827965,0.136655434966087,0.043889086693525,-0.296940535306931,-0.008926789276302,-0.192507788538933,-0.068563990294933,-0.001743514323607,0.015897050499916) * MODEL6_texOff(vec2(-1,-1));
res += mat4(0.133422017097473,0.175462409853935,-0.122687965631485,-0.149151489138603,0.045013189315796,0.076642438769341,0.076169468462467,0.064153105020523,-0.049548499286175,0.049463905394077,-0.065342344343662,0.088931083679199,-0.509290516376495,-0.084924787282944,0.196191117167473,-0.196288764476776) * MODEL6_texOff(vec2(-1,0));
res += mat4(0.386378526687622,-0.348054140806198,0.326541006565094,-0.356116056442261,0.165616124868393,0.051672186702490,-0.148040860891342,0.024881776422262,0.004624359309673,0.074182480573654,-0.229342013597488,0.001214611693285,-0.275948137044907,0.021195573732257,0.071269951760769,0.057625837624073) * MODEL6_texOff(vec2(-1,1));
res += mat4(0.249901577830315,0.118326887488365,-0.064807087182999,0.029478002339602,0.030283760279417,0.128462925553322,-0.014136665500700,-0.221967175602913,-0.052049122750759,0.050273608416319,-0.192254766821861,-0.825259208679199,-0.095779806375504,-0.050184559077024,0.128048896789551,-0.115180447697639) * MODEL6_texOff(vec2(0,-1));
res += mat4(0.105748184025288,0.041965417563915,-0.197251573204994,-0.233756259083748,-0.015962367877364,0.183671072125435,0.243548080325127,-0.075489610433578,0.017752801999450,-0.050863999873400,0.003359469119459,-0.624177217483521,-0.571233749389648,-0.278242230415344,-0.116652116179466,-0.797462999820709) * MODEL6_texOff(vec2(0,0));
res += mat4(0.270791977643967,0.066912867128849,-0.125960737466812,-0.075149238109589,0.137336239218712,0.089150555431843,0.004405677318573,-0.071618489921093,0.068605139851570,0.125731572508812,-0.145984396338463,-0.119693785905838,-0.186479836702347,-0.052386693656445,-0.226359874010086,-0.160063311457634) * MODEL6_texOff(vec2(0,1));
res += mat4(0.071964323520660,0.043320473283529,-0.006492859683931,0.034265879541636,-0.109287448227406,0.235164284706116,-0.154274672269821,0.004907108377665,0.074592500925064,0.058943413197994,0.225270807743073,-0.210966303944588,-0.055785208940506,0.106248870491982,-0.075625345110893,-0.015177490189672) * MODEL6_texOff(vec2(1,-1));
res += mat4(0.108023524284363,0.142309680581093,0.230712905526161,0.118326067924500,-0.162809669971466,0.016367794945836,-0.046693947166204,0.135114431381226,0.225660279393196,0.028157064691186,0.074391879141331,-0.349078357219696,-0.031053101643920,-0.439898878335953,-0.053230989724398,-0.777280747890472) * MODEL6_texOff(vec2(1,0));
res += mat4(0.029803242534399,-0.045387037098408,-0.110818728804588,0.195092052221298,-0.036212641745806,0.186774536967278,-0.216716974973679,-0.054139912128448,-0.063540674746037,-0.058471385389566,-0.088627360761166,-0.053736016154289,0.030708692967892,-0.064258739352226,0.155218675732613,-0.256868720054626) * MODEL6_texOff(vec2(1,1));
res += FEATURE1_texOff(0);
res = max(res, vec4(0.0)) + vec4(0.068400405347347,0.423919439315796,-0.006033340934664,-0.028562143445015) * min(res, vec4(0.0));
return res;
}

//!HOOK LUMA
//!WHEN OUTPUT.w LUMA.w 2.200 * > OUTPUT.h LUMA.h 2.200 * > *
//!COMPONENTS 4
//!BIND MODEL1
//!BIND MODEL2
//!BIND MODEL3
//!BIND MODEL4
//!BIND MODEL5
//!BIND MODEL6
//!BIND FEATURE2
//!SAVE MODEL8
//!DESC [AiUpscale_HQ_Sharp_3x_LineArt] mapping 4_2

vec4 hook()
{
vec4 res = vec4(0.153897449374199,-0.131780952215195,-0.124081343412399,0.038275007158518);
res += mat4(-0.106900125741959,-0.150068029761314,-0.009084285236895,-0.006871100515127,-0.100609250366688,0.060667745769024,-0.010315039195120,-0.051363058388233,-0.000628922600299,0.029757494106889,-0.016294822096825,-0.093252345919609,-0.070211887359619,-0.265636414289474,0.080640330910683,-0.006399683654308) * MODEL1_texOff(vec2(-1,-1));
res += mat4(-0.134802982211113,0.108910560607910,-0.049436278641224,0.321193069219589,0.151386082172394,-0.313167721033096,0.052285678684711,-0.146886706352234,0.120848931372166,-0.184762343764305,0.029164344072342,0.070144161581993,0.021200072020292,-0.563482105731964,0.249851524829865,0.094183266162872) * MODEL1_texOff(vec2(-1,0));
res += mat4(-0.004683254752308,-0.005305675789714,-0.179031357169151,0.125743597745895,0.029712701216340,-0.272766679525375,-0.035348076373339,0.023018375039101,0.212244570255280,0.097019836306572,0.000982141238637,0.118626661598682,0.099321112036705,-0.071870923042297,0.023153698071837,0.020456593483686) * MODEL1_texOff(vec2(-1,1));
res += mat4(0.164337664842606,-0.046854618936777,0.093960113823414,0.090031929314137,-0.089984446763992,0.087136000394821,-0.086460150778294,-0.006195707246661,-0.004842530936003,-0.040720075368881,-0.068576917052269,-0.050696857273579,0.167337372899055,-0.169690757989883,0.111138455569744,-0.017506700009108) * MODEL1_texOff(vec2(0,-1));
res += mat4(-0.331759035587311,0.026459820568562,-0.233088999986649,-0.044836159795523,0.090939961373806,-0.288975715637207,0.198944300413132,-0.217522203922272,-0.117033943533897,-0.000280668056803,0.004738369490951,-0.047492921352386,0.121454626321793,-0.212644204497337,0.225263610482216,-0.005431956611574) * MODEL1_texOff(vec2(0,0));
res += mat4(0.080002158880234,-0.280289828777313,-0.039287861436605,-0.046701796352863,-0.072777979075909,-0.065354049205780,-0.014891158789396,-0.107392556965351,0.073838315904140,-0.263859838247299,-0.043950799852610,-0.149096295237541,0.015165443532169,0.224944591522217,-0.103678792715073,-0.041992478072643) * MODEL1_texOff(vec2(0,1));
res += mat4(0.086835086345673,-0.068858727812767,-0.016703514382243,-0.022526001557708,-0.100979477167130,0.099677562713623,0.045361142605543,-0.029160048812628,-0.036707397550344,-0.094552867114544,-0.097342394292355,0.044899258762598,0.075286135077477,0.016520241275430,-0.018388211727142,-0.082834832370281) * MODEL1_texOff(vec2(1,-1));
res += mat4(-0.163170903921127,-0.086641177535057,-0.076020032167435,-0.062104854732752,-0.095138415694237,0.128689348697662,-0.152047827839851,0.022616982460022,0.071993842720985,0.089064054191113,0.059220671653748,0.058544293045998,0.088206939399242,0.056246262043715,-0.033644836395979,-0.105239637196064) * MODEL1_texOff(vec2(1,0));
res += mat4(0.105011969804764,-0.260922342538834,-0.001614708104171,-0.024687249213457,-0.053233958780766,0.181545138359070,-0.042216371744871,-0.003528772387654,0.166055634617805,0.180863693356514,-0.189089700579643,-0.070732921361923,0.156774818897247,0.053009130060673,0.085738711059093,-0.028902215883136) * MODEL1_texOff(vec2(1,1));
res += mat4(0.099170722067356,-0.155839085578918,0.098589688539505,0.183428883552551,-0.130502447485924,0.141208156943321,0.027370160445571,-0.036083996295929,0.201368689537048,-0.114601612091064,0.016988253220916,-0.124733127653599,0.038045160472393,-0.060852438211441,-0.006179643794894,-0.028108118101954) * MODEL2_texOff(vec2(-1,-1));
res += mat4(0.271203428506851,-0.026129208505154,0.091233976185322,-0.002679931465536,0.093870215117931,0.073034703731537,-0.021525725722313,0.087096408009529,0.093813881278038,-0.070962935686111,0.012273483909667,-0.125297173857689,-0.053297229111195,0.292789906263351,-0.033946525305510,-0.061079211533070) * MODEL2_texOff(vec2(-1,0));
res += mat4(0.133782178163528,-0.064226828515530,0.052548505365849,-0.053283851593733,-0.071354866027832,0.082840330898762,-0.001806789194234,0.068327501416206,0.067132443189621,0.036555163562298,-0.018514085561037,0.081975698471069,0.046859484165907,-0.006259383633733,0.003835283685476,0.029843540862203) * MODEL2_texOff(vec2(-1,1));
res += mat4(0.028912719339132,-0.090786747634411,0.241362839937210,0.178991377353668,-0.033545881509781,0.233322888612747,0.027140449732542,-0.141744568943977,-0.061341017484665,-0.088037945330143,0.038951992988586,-0.036141224205494,-0.028961082920432,0.211714401841164,-0.020138556137681,-0.110853940248489) * MODEL2_texOff(vec2(0,-1));
res += mat4(0.113929197192192,-0.031675089150667,0.277171999216080,-0.014505765400827,-0.037873953580856,0.184490993618965,-0.181558609008789,-0.125260770320892,-0.167502343654633,0.042959690093994,-0.001801257370971,0.006596069782972,-0.078084617853165,0.159049645066261,-0.048134118318558,-0.002248288365081) * MODEL2_texOff(vec2(0,0));
res += mat4(0.153072297573090,-0.021825943142176,0.096624001860619,-0.043178986757994,0.006732796784490,0.247542753815651,-0.032496351748705,-0.052564777433872,0.048832174390554,0.503354847431183,-0.018228726461530,-0.099335871636868,-0.087092146277428,0.211180418729782,-0.062110226601362,-0.040376391261816) * MODEL2_texOff(vec2(0,1));
res += mat4(0.089593864977360,-0.073478177189827,0.114606902003288,-0.032907783985138,-0.038454700261354,0.003258384997025,-0.001409561373293,-0.029373519122601,-0.062282368540764,0.111061945557594,0.033693216741085,0.101368553936481,0.041564282029867,0.144855588674545,0.006609029602259,0.009564866311848) * MODEL2_texOff(vec2(1,-1));
res += mat4(0.140826389193535,-0.020702339708805,0.130800515413284,-0.196214750409126,0.054059252142906,-0.218311950564384,-0.026399506255984,0.121431522071362,-0.014210816472769,0.238416224718094,-0.054061558097601,-0.074330590665340,0.085425034165382,0.139316916465759,-0.120159007608891,0.039548754692078) * MODEL2_texOff(vec2(1,0));
res += mat4(0.060789879411459,0.033134188503027,-0.093877010047436,-0.011971403844655,0.013558969832957,-0.244749754667282,-0.063900157809258,-0.017630277201533,-0.090850166976452,-0.115167573094368,-0.038872219622135,0.000878580030985,0.052556321024895,0.524810731410980,-0.112784512341022,0.004950454458594) * MODEL2_texOff(vec2(1,1));
res += mat4(-0.072756960988045,0.033759277313948,-0.033580880612135,-0.137569949030876,0.016848910599947,0.079301655292511,0.179578036069870,0.059445671737194,0.005115245003253,-0.034567777067423,-0.061689756810665,-0.306038767099380,-0.148258507251740,-0.247770994901657,-0.040466029196978,0.107214167714119) * MODEL3_texOff(vec2(-1,-1));
res += mat4(0.273990899324417,-0.076550893485546,0.036843694746494,0.051319062709808,0.026048939675093,0.002564858878031,0.189061567187309,0.105255931615829,-0.138990193605423,0.085660807788372,-0.236697241663933,-0.348519951105118,-0.207942962646484,0.079324997961521,-0.066012986004353,0.107048809528351) * MODEL3_texOff(vec2(-1,0));
res += mat4(0.028990691527724,0.068373449146748,0.009402937255800,-0.070323146879673,0.121816754341125,-0.017270090058446,0.037079390138388,-0.007034738082439,-0.024318393319845,-0.091806240379810,0.026202443987131,0.130526766180992,-0.009868543595076,0.146705597639084,0.048557169735432,-0.058863248676062) * MODEL3_texOff(vec2(-1,1));
res += mat4(0.090956509113312,-0.001755526871420,-0.012580289505422,-0.165107533335686,0.094125665724277,0.066249489784241,0.079130619764328,-0.016093179583549,-0.154417186975479,0.082292959094048,-0.075437210500240,-0.039074260741472,0.137953564524651,0.080488801002502,-0.098204091191292,-0.181732460856438) * MODEL3_texOff(vec2(0,-1));
res += mat4(0.127545714378357,-0.480883270502090,0.052004992961884,-0.016208004206419,0.182846039533615,0.121576406061649,0.102349244058132,-0.080569490790367,0.043382324278355,-0.071765132248402,0.374873757362366,0.166389673948288,0.281886249780655,0.271470904350281,-0.106968522071838,0.156007945537567) * MODEL3_texOff(vec2(0,0));
res += mat4(-0.121105015277863,-0.051537603139877,-0.068512558937073,-0.105783917009830,0.184067711234093,-0.055352292954922,-0.033904422074556,-0.079574175179005,0.035327408462763,-0.020147506147623,-0.051827408373356,-0.050923872739077,0.088866122066975,0.089983783662319,0.014756371267140,-0.143897250294685) * MODEL3_texOff(vec2(0,1));
res += mat4(0.063676699995995,0.061015073210001,-0.010678894817829,0.008069967851043,-0.053410179913044,-0.062823563814163,0.036867875605822,-0.019473945721984,0.058495398610830,-0.111125111579895,0.088148608803749,0.004890451673418,-0.016326542943716,0.199580132961273,0.044636782258749,0.036950610578060) * MODEL3_texOff(vec2(1,-1));
res += mat4(-0.034368027001619,-0.095206618309021,0.019260575994849,0.004409910179675,0.010478797368705,0.059580530971289,0.072411336004734,0.046567048877478,-0.138872399926186,-0.228743135929108,-0.054339598864317,-0.083885349333286,0.139871895313263,-0.000219489724259,-0.027829233556986,0.087714955210686) * MODEL3_texOff(vec2(1,0));
res += mat4(0.191531002521515,0.068205989897251,0.060373742133379,-0.101027347147465,0.002870494965464,-0.032344054430723,0.064499080181122,0.012094674631953,0.064714848995209,-0.068810462951660,-0.008337986655533,-0.023590164259076,0.044090796262026,0.175849646329880,-0.051131617277861,0.051782228052616) * MODEL3_texOff(vec2(1,1));
res += mat4(-0.015241350047290,0.045073326677084,-0.052984669804573,-0.122152544558048,0.056051954627037,0.024944772943854,-0.007105459459126,-0.150540560483932,0.027095137163997,-0.122774377465248,0.015149268321693,-0.139644980430603,-0.137522310018539,-0.131613165140152,0.027046186849475,0.090098038315773) * MODEL4_texOff(vec2(-1,-1));
res += mat4(0.250003427267075,0.447818160057068,-0.018296368420124,-0.008162185549736,-0.072999149560928,-0.069591984152794,-0.004339047707617,-0.008094691671431,-0.100104741752148,-0.054454743862152,-0.065119028091431,0.059396561235189,-0.002223206451163,0.114239968359470,-0.026711298152804,-0.114775411784649) * MODEL4_texOff(vec2(-1,0));
res += mat4(0.069203004240990,0.083804838359356,0.081601113080978,-0.018891891464591,0.003745618276298,-0.028456568717957,-0.041553318500519,0.085923686623573,0.023208625614643,0.091923788189888,0.018646631389856,-0.008079329505563,-0.056123249232769,0.064694106578827,0.048618774861097,-0.028153985738754) * MODEL4_texOff(vec2(-1,1));
res += mat4(-0.028812689706683,0.105611912906170,0.027378298342228,0.006441056728363,0.226549372076988,-0.033126126974821,-0.105712495744228,0.217412680387497,-0.496740728616714,-0.152394831180573,0.024899942800403,-0.100856371223927,-0.093775190412998,0.016600947827101,0.071260415017605,-0.062216076999903) * MODEL4_texOff(vec2(0,-1));
res += mat4(0.160423800349236,0.169332653284073,-0.187164664268494,-0.083152927458286,0.102254964411259,0.118226699531078,-0.153021156787872,-0.132878318428993,-0.981799125671387,-0.058133989572525,-0.032183472067118,-0.082049541175365,-0.259435474872589,-0.074304014444351,-0.043816749006510,0.132085308432579) * MODEL4_texOff(vec2(0,0));
res += mat4(0.238115310668945,-0.003132925601676,0.087680831551552,-0.008655094541609,-0.127106443047523,-0.147412881255150,0.023318713530898,0.043028615415096,-0.144973918795586,-0.066290490329266,0.117689251899719,0.054073970764875,0.070391729474068,-0.052651289850473,0.051162067800760,0.059664785861969) * MODEL4_texOff(vec2(0,1));
res += mat4(0.026480982080102,0.017811754718423,0.104168936610222,0.088337205350399,-0.058813836425543,0.021973716095090,-0.007033010944724,-0.223239138722420,-0.538662374019623,-0.156492695212364,-0.024791875854135,0.034000728279352,0.167449459433556,-0.124468423426151,0.006715480238199,0.000356966629624) * MODEL4_texOff(vec2(1,-1));
res += mat4(0.169925764203072,-0.061860527843237,0.130168184638023,-0.058221772313118,-0.124181494116783,-0.157900974154472,0.076629005372524,-0.021954877302051,-0.243493393063545,0.206928536295891,-0.037876810878515,-0.070038214325905,0.152361840009689,0.088557727634907,-0.127117276191711,-0.033113148063421) * MODEL4_texOff(vec2(1,0));
res += mat4(0.188923552632332,0.022050753235817,0.072967477142811,0.013938022777438,-0.110193490982056,-0.113120995461941,0.018261885270476,-0.020899912342429,-0.045984908938408,0.006434697657824,-0.006338009145111,-0.004482211545110,-0.131992459297180,0.033635471016169,-0.011937716975808,0.041821110993624) * MODEL4_texOff(vec2(1,1));
res += mat4(-0.083480052649975,0.159875571727753,0.006276628002524,0.139978110790253,-0.044611472636461,0.032183632254601,-0.090167611837387,0.051550414413214,-0.122569784522057,0.048364318907261,-0.063051119446754,-0.009059580974281,0.101302631199360,0.225707188248634,-0.019280890002847,-0.062997624278069) * MODEL5_texOff(vec2(-1,-1));
res += mat4(0.122158311307430,0.083711035549641,0.071887359023094,-0.037957094609737,-0.194811210036278,-0.168662890791893,-0.001995936036110,0.048173934221268,-0.029451997950673,-0.148213341832161,0.008579717949033,0.030858427286148,-0.105574965476990,-0.071449875831604,0.042404033243656,-0.166913703083992) * MODEL5_texOff(vec2(-1,0));
res += mat4(-0.077288225293159,-0.162254512310028,0.059393707662821,-0.036925848573446,-0.117545142769814,0.141167998313904,0.014257959090173,-0.021903472021222,-0.089252047240734,-0.002194313099608,-0.024625780060887,-0.031882084906101,-0.094564445316792,0.030150813981891,0.105716027319431,-0.091289483010769) * MODEL5_texOff(vec2(-1,1));
res += mat4(-0.106928192079067,-0.118391245603561,0.046899776905775,-0.126711592078209,0.178416863083839,-0.257312089204788,0.001322176074609,-0.144863516092300,0.006322105415165,-0.182469561696053,-0.057157047092915,0.074768938124180,0.062690734863281,-0.124116457998753,0.040648065507412,-0.067782305181026) * MODEL5_texOff(vec2(0,-1));
res += mat4(-0.075698085129261,-0.012117099016905,0.075404629111290,0.135867625474930,-0.193877443671227,-0.143991455435753,-0.183003976941109,-0.035822842270136,0.039851825684309,-0.345115005970001,0.115255579352379,0.013797025196254,-0.055732112377882,-0.342799812555313,0.160967394709587,0.034514829516411) * MODEL5_texOff(vec2(0,0));
res += mat4(0.074970789253712,0.255187273025513,0.087937384843826,0.092812336981297,-0.106345832347870,0.138764664530754,0.002208018675447,-0.031520985066891,-0.094895578920841,0.209919273853302,-0.144410297274590,-0.033878356218338,0.251648634672165,-0.046269234269857,0.230159342288971,0.114681825041771) * MODEL5_texOff(vec2(0,1));
res += mat4(-0.121380381286144,-0.051950745284557,0.029629511758685,-0.155909568071365,-0.047883659601212,0.054922830313444,0.067987307906151,-0.050457321107388,-0.093469738960266,-0.058710057288408,-0.036079116165638,0.043281685560942,0.172977358102798,-0.056887552142143,-0.003499845741317,-0.117510639131069) * MODEL5_texOff(vec2(1,-1));
res += mat4(-0.256914168596268,0.101264804601669,0.042207129299641,-0.008500006049871,-0.099372081458569,-0.164391145110130,-0.016693267971277,0.020751822739840,-0.216182217001915,-0.125436648726463,0.061602793633938,0.113130509853363,-0.010620180517435,-0.157232075929642,0.083929724991322,0.080476716160774) * MODEL5_texOff(vec2(1,0));
res += mat4(-0.111952863633633,0.204382255673409,0.173838287591934,-0.132075265049934,-0.024732764810324,-0.069356843829155,-0.028308082371950,-0.047322385013103,-0.059293370693922,0.106092721223831,-0.197739660739899,0.004264086950570,0.041884586215019,-0.002312964061275,0.014357094652951,0.010751903057098) * MODEL5_texOff(vec2(1,1));
res += mat4(0.087760753929615,-0.087079979479313,0.072783410549164,0.237936213612556,-0.031564038246870,-0.051597472280264,-0.021173568442464,0.010760964825749,-0.009413485415280,-0.538837015628815,0.003447064198554,-0.067304328083992,0.044344201683998,-0.067516185343266,-0.002840725705028,-0.017177537083626) * MODEL6_texOff(vec2(-1,-1));
res += mat4(-0.076986961066723,-0.296409219503403,0.095884837210178,-0.033503033220768,0.048875574022532,0.151513233780861,-0.059554237872362,-0.061501603573561,-0.250933200120926,-0.183075875043869,0.041828732937574,0.006485623773187,-0.052663460373878,-0.502467632293701,0.031816314905882,-0.037141516804695) * MODEL6_texOff(vec2(-1,0));
res += mat4(-0.118656255304813,0.218791216611862,-0.087253294885159,-0.130134850740433,0.017168894410133,0.081137076020241,0.006179919932038,0.065218336880207,-0.280173063278198,-0.132489800453186,-0.070067167282104,-0.027012186124921,0.068053573369980,-0.201591134071350,-0.026147887110710,-0.050719212740660) * MODEL6_texOff(vec2(-1,1));
res += mat4(0.074367359280586,0.068064346909523,0.021630186587572,0.001350629725493,0.030177121981978,-0.145952194929123,0.027704125270247,0.191239148378372,-0.313693493604660,0.039802875369787,0.044068980962038,0.148700267076492,-0.023373942822218,-0.063371144235134,0.015654437243938,-0.033566288650036) * MODEL6_texOff(vec2(0,-1));
res += mat4(0.177112251520157,0.306733012199402,0.081593558192253,0.012461667880416,-0.201642900705338,0.020612180233002,0.070239178836346,-0.061923716217279,-0.800980210304260,0.228180438280106,-0.017785301432014,0.061686523258686,0.078402504324913,-0.022305784747005,0.123066976666451,0.235648155212402) * MODEL6_texOff(vec2(0,0));
res += mat4(0.150011777877808,0.216330379247665,0.025266991928220,0.159097582101822,0.178809911012650,-0.194096341729164,-0.175496280193329,-0.081680595874786,-0.482507348060608,0.189068004488945,-0.082933463156223,-0.057424966245890,0.070336975157261,0.131467550992966,-0.044383179396391,0.006149209104478) * MODEL6_texOff(vec2(0,1));
res += mat4(0.101211927831173,-0.054373875260353,0.033071279525757,0.099609889090061,0.046839833259583,-0.165470063686371,0.023908277973533,0.130606174468994,-0.078159213066101,-0.072149083018303,0.004852557089180,0.059176631271839,-0.010244927369058,0.078886695206165,-0.006067737005651,0.016275214031339) * MODEL6_texOff(vec2(1,-1));
res += mat4(0.098066732287407,-0.215079754590988,0.048512689769268,0.127829536795616,-0.174385294318199,-0.071819305419922,-0.130390107631683,-0.146199852228165,-0.196777582168579,0.053468603640795,-0.022468971088529,-0.022362183779478,0.094142578542233,-0.104155801236629,-0.007328981999308,-0.004086222965270) * MODEL6_texOff(vec2(1,0));
res += mat4(-0.042495012283325,-0.126285493373871,-0.065626077353954,0.040459882467985,-0.047905020415783,-0.131103500723839,-0.063308157026768,0.062160894274712,-0.061009649187326,0.167650640010834,-0.062771610915661,-0.076594300568104,0.082298547029495,0.158010289072990,-0.138197466731071,-0.008974075317383) * MODEL6_texOff(vec2(1,1));
res += FEATURE2_texOff(0);
res = max(res, vec4(0.0)) + vec4(0.071163043379784,-0.056869052350521,0.964904963970184,0.578063428401947) * min(res, vec4(0.0));
return res;
}

//!HOOK LUMA
//!WHEN OUTPUT.w LUMA.w 2.200 * > OUTPUT.h LUMA.h 2.200 * > *
//!COMPONENTS 4
//!BIND MODEL1
//!BIND MODEL2
//!BIND MODEL3
//!BIND MODEL4
//!BIND MODEL5
//!BIND MODEL6
//!BIND FEATURE3
//!SAVE MODEL9
//!DESC [AiUpscale_HQ_Sharp_3x_LineArt] mapping 4_3

vec4 hook()
{
vec4 res = vec4(0.157547488808632,0.012571278959513,-0.355070710182190,-0.134119942784309);
res += mat4(-0.068880438804626,0.009311420843005,0.033234771341085,0.057956419885159,-0.017275307327509,-0.021942107006907,0.164288818836212,0.060886152088642,-0.042348630726337,-0.356862515211105,-0.155885457992554,-0.306491643190384,-0.117448918521404,-0.156912848353386,0.156744778156281,-0.016057988628745) * MODEL1_texOff(vec2(-1,-1));
res += mat4(-0.043632622808218,0.039179533720016,0.240156173706055,0.049225013703108,-0.009484418667853,-0.108136519789696,-0.211299270391464,0.025039616972208,-0.113856911659241,0.023431010544300,0.299602448940277,-0.358251065015793,-0.158598154783249,-0.329241394996643,-0.087458856403828,-0.068796135485172) * MODEL1_texOff(vec2(-1,0));
res += mat4(0.038713991641998,-0.138428732752800,0.050040457397699,0.022359408438206,0.083580322563648,-0.051298882812262,-0.193000957369804,-0.057257208973169,-0.115046881139278,-0.111033163964748,0.125437334179878,0.009359412826598,0.033015783876181,-0.147660762071609,0.203119128942490,-0.078230611979961) * MODEL1_texOff(vec2(-1,1));
res += mat4(0.117515899240971,0.139667913317680,0.063013538718224,0.002582739107311,0.177283212542534,0.187179937958717,0.087377220392227,0.084447719156742,-0.138083562254906,0.115873940289021,0.406666219234467,-0.395939767360687,-0.151843726634979,-0.092520624399185,-0.158284947276115,-0.234843343496323) * MODEL1_texOff(vec2(0,-1));
res += mat4(0.160482928156853,-0.046787437051535,-0.418658643960953,-0.046309676021338,-0.245415329933167,-0.271271079778671,-0.269304990768433,-0.340540736913681,0.047882739454508,-0.126704275608063,-0.368728041648865,0.028757931664586,-0.028867093846202,-0.073379062116146,-0.008883840404451,0.061512231826782) * MODEL1_texOff(vec2(0,0));
res += mat4(0.207060977816582,-0.004382463172078,-0.257342815399170,0.102689027786255,-0.024512208998203,-0.023559097200632,-0.026496348902583,-0.014984341338277,-0.006944417487830,-0.000032041418308,0.147634640336037,-0.200857713818550,0.188763216137886,-0.146487563848495,0.045830585062504,0.019106326624751) * MODEL1_texOff(vec2(0,1));
res += mat4(-0.002527918433771,-0.126692801713943,0.078275389969349,-0.091503851115704,0.061048466712236,0.065780080854893,-0.219507813453674,0.079218246042728,-0.107726037502289,0.099166475236416,0.191896662116051,-0.350516021251678,0.041360847651958,-0.039453096687794,0.104913890361786,-0.090740263462067) * MODEL1_texOff(vec2(1,-1));
res += mat4(-0.057525813579559,-0.143095031380653,-0.075694061815739,0.154132440686226,0.110278949141502,-0.156638711690903,0.265658020973206,-0.071938209235668,0.099969528615475,-0.114885717630386,0.019077397882938,-0.035538773983717,-0.131214350461960,-0.043893702328205,0.187075257301331,0.099644586443901) * MODEL1_texOff(vec2(1,0));
res += mat4(-0.031042762100697,-0.042523354291916,-0.172124370932579,0.195256173610687,0.008444191887975,-0.045977093279362,0.156642287969589,0.033270370215178,0.106024794280529,0.195604145526886,0.379204452037811,0.105536095798016,-0.100300185382366,-0.194744825363159,-0.053118083626032,0.011521068401635) * MODEL1_texOff(vec2(1,1));
res += mat4(0.058292135596275,0.066270865499973,0.064947016537189,-0.080224864184856,0.064644359052181,-0.092553742229939,-0.052396930754185,0.067090563476086,0.112785398960114,0.058010067790747,-0.110617816448212,0.131599843502045,-0.006747209932655,0.094027794897556,0.062620475888252,0.008664008229971) * MODEL2_texOff(vec2(-1,-1));
res += mat4(0.174600258469582,0.114069513976574,-0.065661631524563,0.029909521341324,-0.049696877598763,0.218840762972832,0.289439678192139,0.009246150031686,0.074220530688763,-0.161108732223511,-0.120430432260036,0.074866883456707,-0.072263263165951,0.050828352570534,-0.010107642970979,-0.047791600227356) * MODEL2_texOff(vec2(-1,0));
res += mat4(0.223262891173363,-0.011667530052364,-0.014794308692217,0.103346213698387,-0.024983374401927,-0.203591674566269,0.003603396005929,-0.465870857238770,0.037082064896822,0.081493251025677,-0.052546642720699,0.263408213853836,-0.111055485904217,0.142538323998451,0.058329194784164,0.187753140926361) * MODEL2_texOff(vec2(-1,1));
res += mat4(-0.035190183669329,-0.050579592585564,0.042505454272032,0.257466554641724,0.052930697798729,-0.213550850749016,-0.162519484758377,-0.000834241393022,0.079135216772556,-0.006541971117258,-0.264525055885315,0.081289194524288,0.029292726889253,-0.138131722807884,-0.028313688933849,0.125854656100273) * MODEL2_texOff(vec2(0,-1));
res += mat4(-0.015275736339390,0.017588706687093,0.282554894685745,-0.070244081318378,0.097105175256729,0.105955980718136,0.238184943795204,0.153785735368729,0.039777439087629,0.135734438896179,0.225477367639542,-0.042270023375750,-0.120514504611492,0.126680880784988,-0.165117084980011,0.124417886137962) * MODEL2_texOff(vec2(0,0));
res += mat4(0.170927211642265,0.099444769322872,0.047996222972870,0.069601349532604,-0.029426949098706,0.049762830138206,-0.115721508860588,0.052431389689445,0.144508659839630,0.131983190774918,0.011160026304424,0.033644709736109,-0.019412130117416,-0.060850389301777,-0.064360737800598,0.030704801902175) * MODEL2_texOff(vec2(0,1));
res += mat4(-0.026017822325230,-0.069414146244526,-0.093076482415199,0.202129274606705,0.010848701931536,0.071404650807381,0.024080375209451,-0.131316855549812,0.030943503603339,0.053110055625439,0.109138175845146,0.007639740128070,-0.015294101089239,-0.130044102668762,-0.072988145053387,-0.126925975084305) * MODEL2_texOff(vec2(1,-1));
res += mat4(-0.109437063336372,0.192300215363503,0.267836511135101,0.016078833490610,0.046066831797361,0.262249827384949,0.146654874086380,-0.003112461417913,-0.029344877228141,-0.157733678817749,0.128504484891891,-0.113081716001034,0.231425970792770,0.033565405756235,-0.068681143224239,-0.062357816845179) * MODEL2_texOff(vec2(1,0));
res += mat4(-0.019324852153659,-0.144936606287956,0.140446037054062,0.194224148988724,-0.048295296728611,0.081443719565868,0.053338117897511,-0.270604401826859,-0.114954061806202,-0.060470618307590,0.097640909254551,0.114416569471359,-0.071953281760216,-0.089687399566174,-0.054289292544127,0.019739184528589) * MODEL2_texOff(vec2(1,1));
res += mat4(-0.023712843656540,0.028308738023043,0.060670878738165,-0.159798637032509,-0.115189351141453,-0.105604931712151,0.178516954183578,-0.182005137205124,-0.016933053731918,0.204267606139183,0.190766528248787,-0.121444180607796,-0.043928604573011,0.071157947182655,-0.124294742941856,0.103912532329559) * MODEL3_texOff(vec2(-1,-1));
res += mat4(-0.060731653124094,-0.055045656859875,0.112458139657974,-0.003592598717660,-0.014291872270405,0.045704346150160,0.161390379071236,-0.121669068932533,-0.123791247606277,-0.312177240848541,-0.252500295639038,-0.017257571220398,-0.105302222073078,0.122970864176750,0.162759751081467,0.172182232141495) * MODEL3_texOff(vec2(-1,0));
res += mat4(0.051997434347868,-0.066110357642174,-0.154663607478142,-0.155465707182884,-0.080315180122852,-0.212797477841377,0.220051646232605,-0.218036785721779,-0.129955813288689,-0.048673801124096,-0.173562422394753,0.392410457134247,-0.018249619752169,-0.164124503731728,0.088120721280575,-0.243569239974022) * MODEL3_texOff(vec2(-1,1));
res += mat4(0.055599644780159,-0.003739113686606,-0.177405804395676,-0.116302475333214,-0.020207677036524,0.038943268358707,0.064368940889835,-0.345788002014160,0.107074379920959,0.093091167509556,-0.058666639029980,0.200929835438728,-0.016050620004535,-0.010941125452518,0.141514584422112,-0.139230385422707) * MODEL3_texOff(vec2(0,-1));
res += mat4(0.077527776360512,-0.609752237796783,0.072160117328167,0.146940723061562,-0.073257945477962,0.207325488328934,0.438494294881821,-0.153225064277649,-0.033373169600964,0.117310903966427,-0.259079128503799,-0.114807337522507,0.086983658373356,0.269416779279709,0.105505406856537,0.143832445144653) * MODEL3_texOff(vec2(0,0));
res += mat4(0.002185307443142,-0.060327734798193,-0.108291558921337,0.023149413987994,-0.068611420691013,0.080253183841705,0.051304448395967,-0.063093997538090,0.016287455335259,0.152143031358719,0.247390255331993,0.206261217594147,-0.053712662309408,-0.377188146114349,-0.005654925480485,0.199172109365463) * MODEL3_texOff(vec2(0,1));
res += mat4(-0.025908028706908,-0.109012648463249,-0.254349261522293,-0.030369240790606,-0.087191589176655,-0.123529501259327,0.219044506549835,-0.127905189990997,-0.193586945533752,0.016664842143655,-0.007101739291102,-0.103243812918663,-0.068710476160049,0.050204534083605,0.263983428478241,0.302489787340164) * MODEL3_texOff(vec2(1,-1));
res += mat4(-0.100272759795189,-0.122045740485191,-0.175081446766853,-0.055408086627722,0.154187887907028,-0.158886924386024,0.024237906560302,0.019208258017898,0.003144463058561,-0.065308876335621,0.043279036879539,0.145904377102852,0.007090501487255,-0.069403596222401,-0.069643363356590,-0.152360722422600) * MODEL3_texOff(vec2(1,0));
res += mat4(0.108336172997952,-0.083764016628265,0.147951945662498,-0.167700365185738,0.028410138562322,-0.112750910222530,0.123674027621746,-0.274471968412399,-0.036225829273462,0.027586724609137,0.082831457257271,0.076105721294880,-0.032010477036238,-0.257396101951599,-0.152534753084183,-0.115020856261253) * MODEL3_texOff(vec2(1,1));
res += mat4(-0.036772124469280,-0.033126708120108,-0.034367758780718,-0.191455870866776,-0.051993366330862,-0.266899287700653,-0.231255501508713,-0.072417974472046,0.000303913548123,0.191137433052063,-0.001568791805767,-0.135997697710991,-0.010843581520021,0.100092008709908,0.319125086069107,0.185342997312546) * MODEL4_texOff(vec2(-1,-1));
res += mat4(-0.130733773112297,-0.083775304257870,0.135683938860893,-0.169957399368286,0.006066618021578,0.114780142903328,-0.059568017721176,-0.003437666920945,0.063340082764626,0.096502527594566,0.003214543918148,0.040464222431183,-0.210992172360420,0.107626631855965,0.166201233863831,0.130980774760246) * MODEL4_texOff(vec2(-1,0));
res += mat4(0.073716789484024,0.025239977985620,0.056337270885706,-0.224865347146988,0.047158043831587,-0.137483239173889,-0.068643294274807,-0.096524626016617,-0.030308969318867,-0.036894369870424,-0.006060962565243,-0.153148934245110,0.068293780088425,-0.070647343993187,-0.194060251116753,-0.234114438295364) * MODEL4_texOff(vec2(-1,1));
res += mat4(-0.044534567743540,-0.055091679096222,0.211383774876595,-0.083605423569679,-0.025989828631282,0.147682920098305,0.326336681842804,-0.231393828988075,-0.111933268606663,0.215433195233345,0.009239141829312,0.169253811240196,0.173703357577324,-0.131920322775841,0.007303583435714,-0.065252289175987) * MODEL4_texOff(vec2(0,-1));
res += mat4(0.173437014222145,-0.062348395586014,-0.063672311604023,-0.426731437444687,0.012835402972996,-0.037750199437141,-0.045959737151861,0.173309817910194,0.025245569646358,0.099769167602062,0.026923166587949,0.115901976823807,0.112681247293949,0.213458046317101,-0.123126864433289,-0.118006899952888) * MODEL4_texOff(vec2(0,0));
res += mat4(0.049329966306686,-0.000320878200000,0.046862009912729,-0.026775352656841,0.103673681616783,0.031572207808495,0.062254186719656,-0.004317240323871,-0.311879962682724,-0.106849677860737,-0.153981998562813,0.173638403415680,-0.131104573607445,0.010403033345938,-0.375221878290176,0.182378754019737) * MODEL4_texOff(vec2(0,1));
res += mat4(-0.192870602011681,-0.270779013633728,0.100022956728935,-0.227920338511467,-0.029173662886024,-0.049408990889788,0.068260587751865,0.159935131669044,0.083139769732952,0.050299655646086,-0.153231501579285,0.163291409611702,0.071524076163769,-0.127945974469185,-0.231116414070129,0.178264036774635) * MODEL4_texOff(vec2(1,-1));
res += mat4(-0.080129250884056,-0.152898013591766,0.066299535334110,0.046054240316153,-0.024428822100163,-0.145754978060722,-0.104405969381332,-0.085267856717110,0.087141126394272,0.400132745504379,0.124718114733696,0.103089369833469,-0.058454092592001,-0.064657092094421,-0.009049560874701,-0.032330356538296) * MODEL4_texOff(vec2(1,0));
res += mat4(0.002120154676959,-0.219173774123192,0.022917974740267,-0.121678285300732,0.043947022408247,0.194264143705368,-0.011155107058585,-0.079418115317822,-0.155157655477524,0.045413091778755,0.001428568502888,0.030675616115332,-0.055114600807428,0.211829587817192,-0.011018982157111,0.102789737284184) * MODEL4_texOff(vec2(1,1));
res += mat4(0.009915045462549,0.003606638172641,-0.037576764822006,0.130610629916191,-0.081501603126526,-0.205313846468925,-0.006713833659887,0.090997472405434,0.019629580900073,0.120144046843052,0.068400375545025,0.008287946693599,0.151230841875076,0.206450000405312,-0.253639847040176,0.112763836979866) * MODEL5_texOff(vec2(-1,-1));
res += mat4(-0.097007870674133,-0.007693649735302,0.206804662942886,-0.113293893635273,0.095243588089943,0.085225328803062,0.033267084509134,0.316915184259415,-0.016998916864395,0.232751697301865,0.012934844940901,-0.147812560200691,0.265869557857513,0.175001502037048,-0.050613056868315,-0.028993124142289) * MODEL5_texOff(vec2(-1,0));
res += mat4(0.127663567662239,0.118116840720177,0.176336660981178,-0.124864429235458,-0.006924685556442,-0.044260676950216,-0.164249122142792,0.169974431395531,-0.071813791990280,0.013796472921968,-0.097583748400211,0.117130972445011,0.135048866271973,0.121273934841156,-0.059926833957434,-0.127039879560471) * MODEL5_texOff(vec2(-1,1));
res += mat4(0.052554130554199,0.064046718180180,0.058571938425303,-0.088495142757893,-0.175515264272690,0.034417845308781,-0.248532414436340,-0.378482222557068,0.046056896448135,-0.017434157431126,-0.149490162730217,-0.107747420668602,0.100181378424168,-0.001518801087514,0.061398059129715,0.028991056606174) * MODEL5_texOff(vec2(0,-1));
res += mat4(-0.204676941037178,0.064215436577797,0.011093595065176,0.083394221961498,0.013944209553301,0.199270009994507,0.438807219266891,-0.314094394445419,0.091052480041981,0.269096195697784,-0.037816349416971,0.253878057003021,0.088793456554413,0.105261832475662,0.272099703550339,-0.398164600133896) * MODEL5_texOff(vec2(0,0));
res += mat4(0.045017112046480,0.297861933708191,0.179942727088928,-0.355682343244553,-0.111626818776131,-0.231235161423683,-0.238459482789040,0.244312271475792,-0.006695931311697,0.305482655763626,-0.004431933630258,0.333142429590225,-0.172542721033096,-0.302941143512726,-0.392872244119644,0.144614592194557) * MODEL5_texOff(vec2(0,1));
res += mat4(-0.040036264806986,0.048727832734585,0.117503054440022,-0.059293676167727,-0.117165222764015,-0.313174605369568,-0.249837905168533,0.324448138475418,0.023087739944458,0.139958694577217,-0.026420151814818,0.030779575929046,0.040083017200232,-0.138505890965462,0.022723186761141,-0.209951549768448) * MODEL5_texOff(vec2(1,-1));
res += mat4(-0.031209625303745,0.114896468818188,0.204575151205063,0.021273387596011,0.068942904472351,0.185514837503433,-0.254332691431046,-0.070225343108177,-0.004621226806194,0.097742281854153,-0.206943243741989,0.282337248325348,-0.022468512877822,0.019275430589914,0.080604836344719,-0.308494359254837) * MODEL5_texOff(vec2(1,0));
res += mat4(-0.255741119384766,-0.031094176694751,-0.060299705713987,-0.105524249374866,0.094177328050137,-0.037959925830364,0.018396357074380,0.095080539584160,-0.099680386483669,0.170406401157379,-0.028546739369631,0.030681308358908,-0.158411204814911,-0.077900961041451,0.033504474908113,0.273544073104858) * MODEL5_texOff(vec2(1,1));
res += mat4(-0.145942062139511,0.142556548118591,0.463313519954681,-0.174445971846581,-0.075838096439838,-0.061009928584099,-0.086035743355751,-0.054829940199852,-0.001839448348619,0.044259350746870,-0.005079228430986,0.018850455060601,-0.057496711611748,0.022046558558941,-0.017442895099521,-0.019167490303516) * MODEL6_texOff(vec2(-1,-1));
res += mat4(0.349250406026840,0.091151528060436,0.118666075170040,-0.052698727697134,-0.022396946325898,0.045534472912550,0.165563121438026,-0.162093505263329,-0.007924683392048,0.105348654091358,0.090371467173100,0.092016629874706,0.067565582692623,-0.087008573114872,0.042380053550005,0.023028520867229) * MODEL6_texOff(vec2(-1,0));
res += mat4(0.161044985055923,0.056644417345524,0.203209474682808,-0.030539918690920,0.057538136839867,-0.011297305114567,0.215970709919930,-0.046667709946632,-0.156215146183968,0.105030849575996,0.023615421727300,-0.141374275088310,0.012674844823778,-0.059535592794418,0.020826671272516,0.016678526997566) * MODEL6_texOff(vec2(-1,1));
res += mat4(-0.163566991686821,0.236520782113075,0.183664694428444,-0.168751895427704,-0.096465378999710,-0.133632913231850,0.070229351520538,-0.086057364940643,0.174153521656990,-0.038437873125076,0.163897216320038,0.173248708248138,-0.094018138945103,0.072752468287945,-0.081884562969208,-0.044035211205482) * MODEL6_texOff(vec2(0,-1));
res += mat4(-0.177518874406815,-0.142349556088448,0.279277563095093,0.160403862595558,0.121119432151318,0.071678489446640,-0.192277878522873,0.146440699696541,0.096832960844040,0.060993425548077,0.071009889245033,0.304746836423874,-0.206693828105927,-0.136820867657661,0.141351267695427,0.088025964796543) * MODEL6_texOff(vec2(0,0));
res += mat4(-0.093197882175446,0.022361278533936,-0.208383217453957,0.182439401745796,-0.082941398024559,-0.184580370783806,-0.146945118904114,-0.133871883153915,-0.082360573112965,0.004149616695940,0.040587175637484,0.051036946475506,0.017110748216510,-0.259989887475967,-0.153413981199265,-0.094296216964722) * MODEL6_texOff(vec2(0,1));
res += mat4(0.051865119487047,0.078091241419315,0.037574712187052,0.098207078874111,-0.120916962623596,0.124763511121273,0.124616146087646,-0.075719535350800,0.050472669303417,0.014502391219139,-0.165630191564560,-0.104344092309475,-0.158624336123466,-0.143338277935982,0.327519357204437,-0.151568681001663) * MODEL6_texOff(vec2(1,-1));
res += mat4(-0.087644673883915,0.118806228041649,-0.245270475745201,-0.235393479466438,-0.082046523690224,0.229385390877724,-0.132017016410828,0.279053121805191,0.132375180721283,0.243491336703300,-0.103661403059959,-0.003049507737160,-0.131768271327019,-0.379346817731857,0.213538125157356,0.044728886336088) * MODEL6_texOff(vec2(1,0));
res += mat4(-0.034006118774414,0.186858445405960,-0.028029734268785,0.039638094604015,-0.012058440595865,-0.014798488467932,-0.137609049677849,-0.010855621658266,-0.065394900739193,0.079029016196728,-0.048153407871723,0.050063844770193,-0.104200571775436,-0.441986113786697,-0.196528196334839,0.083194784820080) * MODEL6_texOff(vec2(1,1));
res += FEATURE3_texOff(0);
res = max(res, vec4(0.0)) + vec4(0.842887222766876,0.128504961729050,-0.053854364901781,0.233859062194824) * min(res, vec4(0.0));
return res;
}

//!HOOK LUMA
//!WHEN OUTPUT.w LUMA.w 2.200 * > OUTPUT.h LUMA.h 2.200 * > *
//!COMPONENTS 4
//!BIND MODEL1
//!BIND MODEL2
//!BIND MODEL3
//!BIND MODEL4
//!BIND MODEL5
//!BIND MODEL6
//!BIND FEATURE4
//!SAVE MODEL10
//!DESC [AiUpscale_HQ_Sharp_3x_LineArt] mapping 4_4

vec4 hook()
{
vec4 res = vec4(0.126077622175217,0.308802574872971,0.238353088498116,0.147975727915764);
res += mat4(-0.038064956665039,-0.125044792890549,0.192861080169678,-0.160390749573708,-0.068414919078350,-0.297289043664932,0.106929659843445,-0.189973533153534,-0.087130546569824,0.001556838629767,-0.101238869130611,-0.004570782184601,-0.041846245527267,-0.040310535579920,-0.019782952964306,-0.002411430235952) * MODEL1_texOff(vec2(-1,-1));
res += mat4(0.201809898018837,-0.575780808925629,0.106354460120201,-0.157769918441772,0.072264134883881,-0.244498088955879,0.019719999283552,0.225335285067558,-0.090140223503113,0.146182820200920,-0.200889468193054,0.243110671639442,0.093008555471897,-0.396068036556244,-0.196353361010551,-0.056856222450733) * MODEL1_texOff(vec2(-1,0));
res += mat4(0.041449360549450,0.095907159149647,0.044772867113352,0.057556420564651,-0.084091752767563,-0.116287507116795,0.069574669003487,0.171345666050911,0.021054688841105,-0.081200137734413,-0.065044656395912,-0.015359514392912,-0.068567387759686,0.021148849278688,-0.130612686276436,0.168763384222984) * MODEL1_texOff(vec2(-1,1));
res += mat4(-0.075062356889248,0.188721731305122,0.093031257390976,-0.025614924728870,-0.133060857653618,-0.241047412157059,0.140852436423302,-0.107887789607048,-0.170267179608345,0.005974875763059,-0.070683494210243,0.007162008900195,-0.071768708527088,0.097914613783360,-0.195554688572884,0.089395694434643) * MODEL1_texOff(vec2(0,-1));
res += mat4(-0.112441942095757,-0.671233534812927,-0.047437708824873,-0.055587057024240,-0.064879380166531,-0.049276787787676,-0.457403123378754,0.196387931704521,0.051003411412239,-0.024972785264254,-0.067638903856277,-0.063568636775017,0.140978395938873,-0.016952853649855,-0.411436796188354,0.031496115028858) * MODEL1_texOff(vec2(0,0));
res += mat4(-0.021784709766507,0.027948863804340,-0.242960095405579,0.109199129045010,0.071334607899189,0.202066347002983,-0.231963694095612,-0.076613098382950,-0.032888609915972,-0.198833167552948,-0.094930745661259,-0.017595674842596,0.055517215281725,0.035280611366034,-0.265442758798599,0.132809147238731) * MODEL1_texOff(vec2(0,1));
res += mat4(0.068160630762577,0.115766204893589,0.083186984062195,0.073079332709312,0.048407908529043,-0.016592403873801,0.111701972782612,-0.124270975589752,-0.008353101089597,-0.027671137824655,-0.119899243116379,-0.018179336562753,-0.023871116340160,0.226631492376328,-0.135151132941246,0.027888964861631) * MODEL1_texOff(vec2(1,-1));
res += mat4(0.007917297072709,0.180981531739235,0.122995480895042,-0.007269788999110,0.020108200609684,-0.103271864354610,-0.051059462130070,-0.010016046464443,0.091161847114563,-0.086331583559513,-0.164386793971062,0.077154509723186,-0.026606656610966,0.206522256135941,-0.024523731321096,-0.004756841342896) * MODEL1_texOff(vec2(1,0));
res += mat4(0.052825052291155,0.115293420851231,-0.194191530346870,0.168949574232101,-0.035471249371767,0.005223287269473,0.117086224257946,-0.188239604234695,0.027612112462521,0.090864568948746,0.076533645391464,-0.184495002031326,-0.008098357357085,0.141503915190697,-0.241535529494286,0.150963619351387) * MODEL1_texOff(vec2(1,1));
res += mat4(0.095550112426281,0.124613910913467,0.207354038953781,-0.054519955068827,0.043051831424236,-0.161131307482719,0.005255929194391,-0.032078932970762,0.094868063926697,0.285937011241913,-0.087876155972481,0.019214270636439,0.027652176097035,-0.251399517059326,0.041428737342358,-0.044039569795132) * MODEL2_texOff(vec2(-1,-1));
res += mat4(0.125257357954979,0.141423568129539,0.047230277210474,0.094452694058418,-0.013460932299495,0.119254678487778,-0.165290400385857,0.212157160043716,-0.037041459232569,0.180790364742279,-0.001860718941316,0.119618937373161,-0.012126162648201,-0.513826608657837,0.021024385467172,0.042853064835072) * MODEL2_texOff(vec2(-1,0));
res += mat4(0.025270450860262,0.200712040066719,-0.003003770718351,0.134207651019096,-0.063384085893631,-0.035442393273115,-0.102752611041069,-0.119078926742077,0.088889651000500,0.126645743846893,0.017532458528876,-0.008689262904227,-0.054149374365807,-0.304089814424515,0.046869602054358,-0.115737847983837) * MODEL2_texOff(vec2(-1,1));
res += mat4(0.098508492112160,0.395548343658447,0.161150425672531,0.008191769011319,0.032696671783924,0.017493914812803,-0.006920640822500,0.052684687077999,0.002159328432754,-0.041757367551327,0.073919437825680,0.117087632417679,-0.060939472168684,-0.259822815656662,0.010315427556634,-0.258284598588943) * MODEL2_texOff(vec2(0,-1));
res += mat4(0.218630969524384,0.025916438549757,-0.004598299972713,0.013662864454091,0.046471267938614,0.214637115597725,0.022122222930193,0.030718462541699,-0.025547871366143,0.066476084291935,-0.189861014485359,0.105126194655895,-0.069968432188034,-0.234405666589737,0.145398035645485,-0.265206724405289) * MODEL2_texOff(vec2(0,0));
res += mat4(0.042987335473299,-0.182533755898476,-0.074943289160728,0.085948020219803,-0.020450495183468,0.214934483170509,-0.043593224138021,-0.159353196620941,0.040972992777824,0.206692561507225,-0.122676916420460,-0.008336986415088,-0.045357685536146,-0.076334908604622,0.091580413281918,-0.077882200479507) * MODEL2_texOff(vec2(0,1));
res += mat4(-0.027467945590615,0.369842231273651,0.127683818340302,0.112438827753067,0.023296821862459,-0.210559725761414,0.046453401446342,-0.059756692498922,-0.084103778004646,0.051346294581890,-0.061876393854618,-0.053525861352682,0.005789841059595,-0.117351412773132,-0.028793994337320,0.024533344432712) * MODEL2_texOff(vec2(1,-1));
res += mat4(0.130866274237633,0.188946589827538,-0.051329270005226,0.019442738965154,0.005595908500254,-0.329052925109863,-0.049886330962181,-0.023199712857604,-0.024602329358459,0.248251676559448,-0.066534146666527,0.091737769544125,-0.119115121662617,-0.212330520153046,0.273551136255264,-0.114147275686264) * MODEL2_texOff(vec2(1,0));
res += mat4(0.094175733625889,0.070505805313587,-0.042892567813396,-0.059831328690052,0.032196201384068,-0.074898183345795,0.048407103866339,-0.055032402276993,0.014566051773727,0.149533733725548,0.040125139057636,-0.017224987968802,0.005370824132115,-0.388280838727951,0.001636291388422,-0.092785187065601) * MODEL2_texOff(vec2(1,1));
res += mat4(0.063275776803493,-0.196644678711891,-0.045732680708170,-0.297526448965073,-0.149620816111565,-0.209219515323639,-0.157011568546295,0.003591500455514,-0.139595374464989,-0.077777348458767,0.029687020927668,-0.206452190876007,-0.067792959511280,0.198103442788124,-0.079646490514278,-0.077707812190056) * MODEL3_texOff(vec2(-1,-1));
res += mat4(0.038911972194910,-0.653804659843445,-0.002794665517285,-0.419301986694336,-0.116238094866276,-0.063706293702126,-0.168936878442764,0.077224604785442,0.046641610562801,-0.298982858657837,0.083381652832031,0.055025391280651,0.144146218895912,-0.016158493235707,-0.186464190483093,-0.286307752132416) * MODEL3_texOff(vec2(-1,0));
res += mat4(0.008450728841126,-0.009325056336820,0.091918475925922,-0.199178159236908,-0.091887578368187,0.088046498596668,-0.038491394370794,-0.028826558962464,-0.010013146325946,-0.178143054246902,0.033091891556978,0.185706317424774,-0.108180262148380,-0.107716895639896,0.073856517672539,0.022503782063723) * MODEL3_texOff(vec2(-1,1));
res += mat4(0.188693121075630,-0.128806069493294,0.043543063104153,-0.052701901644468,-0.054086662828922,-0.239504426717758,-0.173568129539490,-0.023208411410451,-0.016704285517335,0.025717249140143,0.174775525927544,-0.127929821610451,0.184464916586876,-0.022054400295019,0.171679705381393,0.095588319003582) * MODEL3_texOff(vec2(0,-1));
res += mat4(-0.071767285466194,-0.544480741024017,0.048759218305349,0.063355810940266,-0.117940708994865,-0.128676950931549,-0.092484936118126,-0.155295863747597,-0.014254302717745,0.021747803315520,-0.304157167673111,0.121694788336754,0.392790228128433,0.095437161624432,0.238903552293777,0.069788157939911) * MODEL3_texOff(vec2(0,0));
res += mat4(0.133805379271507,0.035938404500484,0.214085951447487,-0.011802601628006,-0.004536595195532,0.193789318203926,-0.165628924965858,-0.169841095805168,0.005127420648932,-0.024997266009450,0.039599414914846,-0.045199558138847,-0.034290809184313,-0.206640481948853,0.041556917130947,-0.104751735925674) * MODEL3_texOff(vec2(0,1));
res += mat4(0.066411741077900,0.103320941329002,0.193800583481789,-0.093680910766125,-0.099719233810902,-0.107059299945831,0.056548412889242,-0.077229902148247,0.031019629910588,0.018802914768457,0.000980498269200,0.012351817451417,-0.028849404305220,0.084734112024307,0.083615675568581,-0.142294123768806) * MODEL3_texOff(vec2(1,-1));
res += mat4(-0.103446982800961,-0.121954739093781,0.080428399145603,-0.122451968491077,-0.232063889503479,-0.028862303122878,-0.178097352385521,-0.029604947194457,-0.065972052514553,0.141129687428474,-0.049624562263489,0.126719936728477,0.065171256661415,0.154195487499237,-0.152071803808212,0.020518135279417) * MODEL3_texOff(vec2(1,0));
res += mat4(-0.063619218766689,0.001910297665745,0.116268321871758,-0.006024196278304,-0.072011031210423,0.123873896896839,-0.277022063732147,-0.075009122490883,-0.016571745276451,0.036883004009724,-0.005799865815789,0.060879811644554,-0.011320931836963,0.194180846214294,-0.145417794585228,0.073601238429546) * MODEL3_texOff(vec2(1,1));
res += mat4(0.055956933647394,-0.058203935623169,-0.199750483036041,0.015108299441636,0.023027505725622,0.066490039229393,0.102309338748455,-0.036249544471502,0.028241908177733,-0.039974045008421,0.243384480476379,0.123027272522449,-0.055079512298107,-0.590797483921051,0.023086339235306,0.192829012870789) * MODEL4_texOff(vec2(-1,-1));
res += mat4(-0.169731244444847,0.048617038875818,-0.189276397228241,0.194506168365479,-0.165654897689819,-0.119212761521339,0.030637158080935,0.011522512882948,-0.033124092966318,0.181632280349731,0.012980474159122,0.154186397790909,0.026104852557182,0.183903023600578,-0.029415745288134,-0.166247293353081) * MODEL4_texOff(vec2(-1,0));
res += mat4(-0.025935128331184,0.094072155654430,-0.063805177807808,-0.157558292150497,0.113194286823273,0.020492831245065,-0.091069035232067,-0.087081313133240,0.080278389155865,0.175995901226997,-0.136495515704155,0.045299883931875,0.007268638815731,-0.085609868168831,0.117476098239422,0.166054472327232) * MODEL4_texOff(vec2(-1,1));
res += mat4(-0.074092611670494,-0.165270969271660,-0.120439380407333,0.079864956438541,-0.006163469981402,-0.019674090668559,-0.124716222286224,0.003269073553383,-0.164859488606453,-0.826865434646606,0.060692436993122,-0.654591262340546,0.034258812665939,-0.106963850557804,0.377428054809570,-0.087492570281029) * MODEL4_texOff(vec2(0,-1));
res += mat4(0.096140883862972,-0.090340226888657,-0.239413052797318,0.008480624295771,0.093833863735199,-0.047038946300745,0.212593764066696,0.017688877880573,-0.124020867049694,0.004360998515040,-0.114262282848358,-0.055416177958250,-0.007655392400920,-0.095953561365604,0.138030782341957,-0.073613665997982) * MODEL4_texOff(vec2(0,0));
res += mat4(0.065484523773193,0.108341909945011,-0.111835777759552,-0.173587292432785,0.024373363703489,-0.002607794012874,-0.172372803092003,-0.059570286422968,0.084086656570435,0.095800943672657,-0.043848145753145,0.009062440134585,-0.009472288191319,0.052105035632849,-0.172995418310165,0.088850088417530) * MODEL4_texOff(vec2(0,1));
res += mat4(-0.115585178136826,-0.011037966236472,-0.153298467397690,-0.116880580782890,-0.006030678283423,-0.310079455375671,0.170430526137352,-0.096453011035919,-0.160409554839134,-0.681380867958069,0.012189999222755,0.079943507909775,0.023765824735165,0.257223427295685,0.164825156331062,-0.034366108477116) * MODEL4_texOff(vec2(1,-1));
res += mat4(-0.107580058276653,0.153934672474861,-0.244191214442253,0.210405796766281,0.036438338458538,-0.136775672435760,-0.113941490650177,-0.074849702417850,-0.150238409638405,0.051813658326864,0.004353087395430,0.102206371724606,0.243340432643890,0.052739366889000,0.070337325334549,-0.138694778084755) * MODEL4_texOff(vec2(1,0));
res += mat4(-0.051504638046026,0.225824922323227,0.052020020782948,-0.025265367701650,0.026935039088130,0.049559835344553,-0.114649035036564,0.102392293512821,0.011903627775609,0.039659868925810,-0.029434869065881,0.131962403655052,0.096632681787014,0.065657213330269,-0.014871008694172,0.012230583466589) * MODEL4_texOff(vec2(1,1));
res += mat4(0.009959858842194,0.258032381534576,-0.141721844673157,0.046785235404968,0.129848778247833,0.006855725776404,0.127593263983727,0.257557839155197,-0.035229742527008,-0.037344511598349,0.176637098193169,0.105154432356358,0.124885395169258,0.131780266761780,0.029615806415677,-0.077712126076221) * MODEL5_texOff(vec2(-1,-1));
res += mat4(0.120448648929596,0.075433604419231,0.040885560214520,0.001147475326434,-0.061785146594048,-0.357154697179794,-0.063919357955456,0.085626639425755,-0.031166978180408,-0.006286739837378,0.098254553973675,-0.013697119429708,0.009920604526997,-0.291374295949936,-0.090777441859245,-0.070402316749096) * MODEL5_texOff(vec2(-1,0));
res += mat4(-0.048668339848518,-0.391753077507019,0.091497108340263,-0.349377393722534,-0.010754228569567,-0.150500357151031,-0.158562168478966,-0.084582068026066,-0.031524568796158,0.002890119561926,0.022038782015443,-0.173088029026985,-0.048864416778088,-0.111743457615376,-0.162406697869301,-0.242048203945160) * MODEL5_texOff(vec2(-1,1));
res += mat4(0.060255825519562,0.180366575717926,-0.081159345805645,-0.107127599418163,0.060313329100609,-0.086938627064228,0.125175774097443,0.001133424462751,-0.061292070895433,-0.298306614160538,0.089187093079090,-0.018418658524752,0.048203554004431,0.154141575098038,0.073951296508312,-0.039593350142241) * MODEL5_texOff(vec2(0,-1));
res += mat4(-0.047393724322319,-0.513589918613434,0.031569987535477,-0.296858429908752,0.105248279869556,0.042096670717001,0.058231759816408,-0.267447322607040,0.012864666059613,-0.262475639581680,0.213607564568520,0.026490384712815,-0.024187054485083,0.224059343338013,-0.041285138577223,-0.195641085505486) * MODEL5_texOff(vec2(0,0));
res += mat4(-0.010731180198491,-0.730782628059387,-0.268802970647812,-0.696640431880951,-0.067916579544544,-0.109971396625042,-0.089805349707603,-0.005757959093899,-0.000619245634880,-0.057899091392756,0.129373729228973,-0.106114186346531,-0.076853878796101,-0.360065013170242,-0.359218835830688,0.252930462360382) * MODEL5_texOff(vec2(0,1));
res += mat4(0.064615190029144,-0.247164428234100,0.092658862471581,-0.058666046708822,0.026754070073366,0.006654018070549,-0.046941947191954,-0.185469672083855,-0.002568787895143,-0.210560962557793,0.020657505840063,-0.176268622279167,-0.017269795760512,0.015364687889814,-0.292362064123154,0.037252891808748) * MODEL5_texOff(vec2(1,-1));
res += mat4(-0.155956149101257,-0.296817392110825,-0.137033715844154,-0.114096604287624,-0.038979038596153,-0.112217284739017,-0.128752037882805,0.123276524245739,0.055609855800867,-0.580342710018158,0.132036730647087,-0.195621699094772,0.046861488372087,0.029680160805583,-0.128588885068893,-0.057118460536003) * MODEL5_texOff(vec2(1,0));
res += mat4(-0.049837347120047,-0.468073993921280,-0.210238680243492,-0.166922852396965,-0.062753006815910,0.054038323462009,-0.003554380964488,0.005481843836606,0.061883166432381,0.040733281522989,0.061791341751814,-0.152106761932373,0.047821130603552,-0.009854946285486,-0.277435153722763,-0.079471431672573) * MODEL5_texOff(vec2(1,1));
res += mat4(0.012035324238241,-0.281703263521194,0.052743967622519,0.157220721244812,-0.026997420936823,-0.018498426303267,-0.019217107445002,0.020090328529477,-0.024246148765087,-0.415318399667740,-0.067223265767097,0.045830506831408,-0.015991447493434,0.065560951828957,0.017692485824227,0.018627688288689) * MODEL6_texOff(vec2(-1,-1));
res += mat4(0.142163857817650,-0.470270246267319,-0.172432750463486,-0.156510949134827,0.010435547679663,0.107983261346817,-0.109116159379482,-0.064225353300571,-0.166238740086555,-0.430716246366501,0.139284163713455,-0.432513624429703,0.093667827546597,0.001610386534594,0.052504621446133,-0.141718864440918) * MODEL6_texOff(vec2(-1,0));
res += mat4(-0.146963104605675,-0.030665755271912,-0.216568291187286,0.166073858737946,0.072593957185745,0.010031211189926,0.002159764291719,-0.112171173095703,0.039612650871277,0.007978727109730,-0.100888803601265,-0.208301439881325,-0.049987923353910,0.206045776605606,-0.016310255974531,0.064021401107311) * MODEL6_texOff(vec2(-1,1));
res += mat4(0.037725590169430,0.266571313142776,-0.237248197197914,0.143499866127968,-0.156545490026474,0.113261908292770,-0.030483426526189,0.053831461817026,-0.171946361660957,-0.213798537850380,-0.159462392330170,0.017548305913806,-0.000004761779564,-0.095316857099533,-0.004908814560622,0.188541412353516) * MODEL6_texOff(vec2(0,-1));
res += mat4(0.045858915895224,0.381861150264740,-0.088510230183601,0.084071204066277,0.183533504605293,-0.086927570402622,0.209613114595413,0.069518156349659,-0.254086345434189,-0.488542288541794,-0.086722470819950,-0.126325443387032,0.084326453506947,-0.563567101955414,0.036830835044384,-0.575501561164856) * MODEL6_texOff(vec2(0,0));
res += mat4(-0.174027577042580,0.020763996988535,-0.257504612207413,0.066124625504017,-0.227693662047386,-0.102045401930809,0.066019229590893,0.250114589929581,-0.061038546264172,0.078854918479919,-0.038249582052231,0.011872815899551,-0.000263170339167,0.134730935096741,-0.134974613785744,0.071255557239056) * MODEL6_texOff(vec2(0,1));
res += mat4(-0.023703971877694,-0.044656004756689,0.012173828668892,-0.021652700379491,0.029438888654113,0.036195702850819,-0.132860034704208,0.003162622218952,-0.147537425160408,0.225554421544075,-0.194599226117134,0.053551249206066,0.025330226868391,-0.140655592083931,0.011380351148546,0.051313802599907) * MODEL6_texOff(vec2(1,-1));
res += mat4(0.070584096014500,-0.104485988616943,-0.035404652357101,0.076018400490284,0.164930328726768,0.118709519505501,0.203860908746719,-0.008433132432401,-0.205431759357452,0.161246746778488,-0.202391311526299,0.073596581816673,0.097434923052788,-0.412939399480820,-0.097850970923901,-0.215283289551735) * MODEL6_texOff(vec2(1,0));
res += mat4(0.063186362385750,-0.015063574537635,-0.161944016814232,-0.090359218418598,0.058359600603580,-0.111764013767242,-0.050621803849936,0.157189115881920,-0.028188576921821,0.099347487092018,-0.092074915766716,0.000100483252027,0.090730011463165,-0.034316021949053,-0.012545112520456,0.123110629618168) * MODEL6_texOff(vec2(1,1));
res += FEATURE4_texOff(0);
res = max(res, vec4(0.0)) + vec4(0.894753456115723,0.018566057085991,-0.019667198881507,0.062584429979324) * min(res, vec4(0.0));
return res;
}

//!HOOK LUMA
//!WHEN OUTPUT.w LUMA.w 2.200 * > OUTPUT.h LUMA.h 2.200 * > *
//!COMPONENTS 4
//!BIND MODEL1
//!BIND MODEL2
//!BIND MODEL3
//!BIND MODEL4
//!BIND MODEL5
//!BIND MODEL6
//!BIND FEATURE5
//!SAVE MODEL11
//!DESC [AiUpscale_HQ_Sharp_3x_LineArt] mapping 4_5

vec4 hook()
{
vec4 res = vec4(0.263435602188110,-0.111018016934395,-0.041808206588030,-0.065260291099548);
res += mat4(-0.027844456955791,-0.013128711842000,0.058719512075186,0.045184332877398,-0.091260522603989,0.068289719521999,0.028742834925652,-0.034595806151628,0.059134047478437,0.031287353485823,0.028634479269385,0.056663017719984,-0.075049512088299,-0.032165631651878,0.110202997922897,0.032065801322460) * MODEL1_texOff(vec2(-1,-1));
res += mat4(-0.131061241030693,-0.079155914485455,-0.056627497076988,-0.015378774143755,-0.088009834289551,-0.045650344341993,-0.223867654800415,-0.146220743656158,0.185464620590210,0.034123279154301,0.005588365253061,-0.179850921034813,-0.133328452706337,-0.043276708573103,0.019006950780749,0.371217250823975) * MODEL1_texOff(vec2(-1,0));
res += mat4(0.172980144619942,0.073466293513775,0.099342457950115,0.099935658276081,-0.050649654120207,0.036840774118900,-0.075307182967663,0.042545121163130,-0.007427192758769,0.020750315859914,0.179933369159698,0.030022585764527,-0.006552969571203,0.142914861440659,0.055995203554630,0.198212683200836) * MODEL1_texOff(vec2(-1,1));
res += mat4(-0.180734232068062,0.009074071422219,0.211220309138298,0.061738535761833,-0.187290251255035,0.135856986045837,-0.014920880086720,-0.079939998686314,0.048793293535709,0.081098452210426,0.136189550161362,0.097194194793701,-0.061118252575397,0.050561655312777,0.305732399225235,0.054572202265263) * MODEL1_texOff(vec2(0,-1));
res += mat4(0.128072559833527,-0.112218111753464,-0.233667299151421,-0.152689948678017,0.363417923450470,-0.068509772419930,0.430288791656494,0.145120903849602,0.044220611453056,-0.023133797571063,-0.037088453769684,-0.006592711899430,0.005171159282327,0.076443202793598,0.215518444776535,-0.004610419273376) * MODEL1_texOff(vec2(0,0));
res += mat4(0.105580821633339,0.240455195307732,0.015107898972929,-0.002739652991295,-0.044151384383440,-0.040494713932276,0.195585161447525,-0.224959671497345,0.005385274998844,0.092506088316441,0.098833307623863,0.216721773147583,0.097984410822392,0.029592599719763,-0.149242386221886,0.126056909561157) * MODEL1_texOff(vec2(0,1));
res += mat4(-0.018601071089506,-0.037144679576159,-0.084298424422741,-0.020335914567113,-0.124681308865547,0.112546980381012,-0.020835435017943,-0.050873208791018,0.109377548098564,0.294238567352295,0.090829536318779,0.070912986993790,-0.011129274964333,-0.124986581504345,0.029693240299821,-0.076171897351742) * MODEL1_texOff(vec2(1,-1));
res += mat4(0.052158493548632,-0.137183710932732,-0.281075656414032,-0.096373602747917,-0.150344789028168,-0.140261158347130,0.054280776530504,0.027137096971273,0.029311593621969,-0.197610050439835,0.056644346565008,0.008533680811524,-0.038441319018602,0.064282454550266,-0.102618746459484,-0.214567229151726) * MODEL1_texOff(vec2(1,0));
res += mat4(0.175203114748001,0.152717098593712,0.038676828145981,-0.180699199438095,-0.214417576789856,-0.037408366799355,-0.097303457558155,-0.031097542494535,-0.165591120719910,-0.156092196702957,-0.093149811029434,0.057259004563093,0.032680466771126,0.059588745236397,-0.033977981656790,-0.038925096392632) * MODEL1_texOff(vec2(1,1));
res += mat4(-0.043581604957581,-0.044529128819704,0.099053651094437,0.118915095925331,0.075800277292728,-0.027493573725224,-0.195008933544159,0.000210694881389,-0.004970035050064,0.052450709044933,-0.022598907351494,0.069397784769535,-0.092296600341797,0.071607723832130,-0.063061311841011,0.100697822868824) * MODEL2_texOff(vec2(-1,-1));
res += mat4(0.082048773765564,0.175728246569633,-0.002459309529513,0.090118467807770,0.173524931073189,-0.213981032371521,0.178517058491707,-0.216331273317337,-0.083416059613228,-0.026388464495540,-0.052966937422752,0.010234962217510,0.053860574960709,-0.021354245021939,-0.144696384668350,-0.041352439671755) * MODEL2_texOff(vec2(-1,0));
res += mat4(0.071896977722645,0.240978837013245,0.023994315415621,0.126143485307693,-0.057310182601213,-0.113030605018139,0.051178731024265,0.051862325519323,0.182912200689316,-0.002001530257985,0.124720454216003,0.062673233449459,0.011200433596969,-0.074388176202774,-0.096416659653187,-0.047935515642166) * MODEL2_texOff(vec2(-1,1));
res += mat4(0.103830918669701,-0.322321057319641,-0.080153711140156,-0.168929219245911,-0.008548275567591,0.159075751900673,-0.097016446292400,-0.043820891529322,-0.027471488341689,-0.041519429534674,0.020146138966084,-0.121026687324047,-0.142351076006889,0.146640449762344,-0.084176152944565,0.033872440457344) * MODEL2_texOff(vec2(0,-1));
res += mat4(0.033407505601645,-0.165350601077080,-0.136179029941559,0.215869173407555,-0.111331097781658,-0.025478497147560,-0.002173047047108,0.065819121897221,-0.050225414335728,0.088121779263020,-0.106527827680111,-0.013018075376749,-0.252648890018463,-0.181460350751877,-0.032265570014715,0.011193051934242) * MODEL2_texOff(vec2(0,0));
res += mat4(0.089036293327808,0.127218663692474,-0.103818900883198,-0.079804778099060,0.153305247426033,-0.068186998367310,-0.091025374829769,-0.072940908372402,0.137389242649078,0.055677499622107,-0.201316967606544,0.078745327889919,-0.177667930722237,-0.210070714354515,-0.137617081403732,-0.028109626844525) * MODEL2_texOff(vec2(0,1));
res += mat4(0.098349891602993,-0.185284808278084,-0.067372061312199,-0.273489713668823,-0.018775437027216,0.060659434646368,0.052103400230408,0.097225241363049,-0.158428326249123,0.092801205813885,0.124029077589512,-0.045750629156828,-0.140700325369835,-0.044825978577137,0.199847400188446,0.139812543988228) * MODEL2_texOff(vec2(1,-1));
res += mat4(-0.075662039220333,-0.139867320656776,0.146323710680008,-0.081777453422546,0.129304632544518,-0.078276075422764,0.174498751759529,-0.059923045337200,-0.006521347910166,0.084958933293819,-0.053273119032383,-0.159824654459953,-0.213257312774658,0.043406873941422,0.008679455146194,0.091482512652874) * MODEL2_texOff(vec2(1,0));
res += mat4(-0.011785591952503,0.042135145515203,0.154269382357597,0.012040846049786,-0.007849856279790,-0.148308053612709,0.049822319298983,0.011794549413025,0.133811339735985,0.099659830331802,0.020269319415092,-0.114733122289181,-0.077119298279285,0.016415791586041,0.086964443325996,-0.018657453358173) * MODEL2_texOff(vec2(1,1));
res += mat4(-0.014739556238055,0.095202162861824,0.128636822104454,-0.020241901278496,-0.245852857828140,-0.020729625597596,0.053879637271166,0.032906297594309,-0.014742993749678,-0.080397732555866,-0.064881309866905,0.060703128576279,0.121549293398857,0.220691293478012,0.038793172687292,0.026626000180840) * MODEL3_texOff(vec2(-1,-1));
res += mat4(-0.223661839962006,0.004408414009959,0.053729746490717,-0.032786272466183,-0.012422244995832,0.015233619138598,-0.005915445741266,0.299762248992920,-0.537947416305542,-0.109724566340446,-0.367093861103058,0.037873338907957,0.065355166792870,0.026625001803041,0.223511472344398,-0.093181654810905) * MODEL3_texOff(vec2(-1,0));
res += mat4(-0.062410421669483,-0.052639435976744,-0.065138787031174,0.035644523799419,-0.047310940921307,-0.119090914726257,0.085904054343700,-0.022866189479828,0.067256875336170,0.036692831665277,-0.060105100274086,-0.292203605175018,-0.067566394805908,-0.095110714435577,-0.031008152291179,-0.018104761838913) * MODEL3_texOff(vec2(-1,1));
res += mat4(-0.293699264526367,0.042649354785681,-0.110814020037651,0.106102906167507,-0.070887401700020,-0.127121552824974,0.113321721553802,-0.117312848567963,-0.062190346419811,-0.295621037483215,0.057740800082684,0.044603109359741,-0.033460222184658,0.095209658145905,-0.061726141721010,0.169166103005409) * MODEL3_texOff(vec2(0,-1));
res += mat4(-0.692502081394196,0.223400756716728,-0.293865203857422,0.046023271977901,-0.001675999374129,0.037141829729080,0.058169286698103,0.056420426815748,0.071267083287239,0.106889724731445,0.107935190200806,-0.012789836153388,-0.120548747479916,0.231724485754967,-0.072844043374062,-0.062333282083273) * MODEL3_texOff(vec2(0,0));
res += mat4(-0.089229568839073,0.152544185519218,-0.400964319705963,-0.118599735200405,-0.047715183347464,-0.053595717996359,0.043218147009611,0.102543272078037,-0.037009611725807,0.009966528043151,0.034370020031929,-0.073911823332310,-0.056755606085062,-0.234147265553474,-0.174022331833839,0.186219587922096) * MODEL3_texOff(vec2(0,1));
res += mat4(0.147157266736031,-0.044870190322399,-0.224708735942841,0.052405077964067,-0.155389994382858,0.127701312303543,0.132514953613281,-0.021123055368662,0.024675222113729,-0.007233029231429,-0.036937300115824,-0.000547822914086,-0.178262397646904,0.085236698389053,-0.100121580064297,0.079808652400970) * MODEL3_texOff(vec2(1,-1));
res += mat4(-0.291099280118942,0.140408933162689,-0.209588482975960,0.024781854823232,-0.044686615467072,0.088084474205971,0.021203355863690,0.249813646078110,0.153290286660194,-0.112739190459251,0.009383889846504,-0.005489237140864,0.033810604363680,0.298352748155594,0.016153829172254,-0.114745132625103) * MODEL3_texOff(vec2(1,0));
res += mat4(-0.062704801559448,-0.034296307712793,-0.029984643682837,-0.271067291498184,-0.007817788049579,0.072648912668228,-0.093011386692524,0.018375230953097,0.061648901551962,0.011403087526560,0.036067195236683,-0.019908053800464,-0.071920067071915,0.119642630219460,-0.108927875757217,-0.136198997497559) * MODEL3_texOff(vec2(1,1));
res += mat4(-0.017431076616049,-0.059371322393417,0.022422732785344,0.026372091844678,-0.117441877722740,0.057154882699251,0.007664857897907,0.008300975896418,0.012800615280867,-0.056343790143728,-0.036838427186012,-0.163276806473732,-0.096974045038223,0.085903659462929,-0.127257466316223,-0.031450666487217) * MODEL4_texOff(vec2(-1,-1));
res += mat4(-0.029574623331428,-0.054898541420698,0.113114334642887,-0.182310074567795,-0.068677805364132,0.204512506723404,-0.118741199374199,-0.284575164318085,0.045274488627911,0.052242770791054,-0.007698325440288,-0.008710978552699,0.037372253835201,0.067855864763260,-0.027275221422315,-0.077160671353340) * MODEL4_texOff(vec2(-1,0));
res += mat4(0.129767194390297,-0.011592153459787,0.123047344386578,0.024196926504374,-0.025451393797994,0.154959559440613,0.105543345212936,0.069384686648846,0.009526208974421,0.107640489935875,0.025008143857121,0.055892843753099,-0.112339437007904,-0.102646104991436,-0.124178215861320,-0.202274963259697) * MODEL4_texOff(vec2(-1,1));
res += mat4(-0.131553560495377,0.107875950634480,-0.024177040904760,0.156642720103264,-0.111604481935501,0.207554906606674,0.135447978973389,0.260014832019806,-0.259780526161194,-0.246620267629623,-0.125158622860909,-0.014190502464771,0.000742095231544,0.126793697476387,0.178496986627579,0.168766736984253) * MODEL4_texOff(vec2(0,-1));
res += mat4(0.169483050704002,0.047837972640991,0.116557858884335,0.179995179176331,-0.131912142038345,-0.367993831634521,-0.039358247071505,-0.120798759162426,0.063637636601925,0.077226124703884,0.000133673282107,0.177533000707626,-0.379087477922440,0.176590248942375,-0.177231431007385,-0.363989710807800) * MODEL4_texOff(vec2(0,0));
res += mat4(0.137130096554756,0.159721180796623,0.170331314206123,0.233484745025635,0.080504991114140,0.195940703153610,0.096858404576778,0.069648578763008,0.100917868316174,-0.111827395856380,0.136891692876816,0.018988233059645,0.088704720139503,0.133502483367920,0.100639909505844,0.046722419559956) * MODEL4_texOff(vec2(0,1));
res += mat4(-0.074545934796333,0.088501557707787,0.015368595719337,-0.014103776775301,-0.190477728843689,-0.063338540494442,-0.207660838961601,0.015628924593329,-0.243414103984833,-0.323957592248917,0.202271938323975,-0.258768796920776,0.112202391028404,-0.046203903853893,0.090918265283108,-0.342532813549042) * MODEL4_texOff(vec2(1,-1));
res += mat4(-0.089114852249622,0.175203844904900,-0.048801124095917,0.005994079168886,0.113166630268097,-0.017107460647821,0.071825392544270,0.039388656616211,-0.016486013308167,0.032133024185896,-0.138971328735352,-0.078642711043358,-0.215554296970367,-0.136287629604340,-0.151950359344482,0.056582678109407) * MODEL4_texOff(vec2(1,0));
res += mat4(0.117135196924210,0.031911779195070,0.007924793288112,0.069681398570538,0.086954548954964,0.186508923768997,-0.012873968109488,-0.010566805489361,0.034566935151815,0.073190160095692,0.001689815311693,-0.115503057837486,-0.007884210906923,-0.019400885328650,0.047870893031359,-0.079156048595905) * MODEL4_texOff(vec2(1,1));
res += mat4(0.155345961451530,-0.039781782776117,0.034651108086109,0.105175539851189,-0.080120734870434,0.006801233626902,-0.157432273030281,0.002783817006275,-0.028299180790782,0.076875127851963,-0.027018064633012,-0.106082893908024,-0.054150372743607,-0.027781059965491,0.033770095556974,0.018081426620483) * MODEL5_texOff(vec2(-1,-1));
res += mat4(0.118690259754658,-0.056990228593349,-0.059583988040686,-0.072890490293503,-0.362766861915588,-0.074419833719730,-0.222285404801369,-0.004284384660423,-0.172993808984756,-0.100297637283802,-0.074850067496300,-0.071412220597267,-0.127738609910011,-0.028151178732514,-0.028994113206863,0.010779527947307) * MODEL5_texOff(vec2(-1,0));
res += mat4(-0.257232457399368,-0.052552700042725,-0.111279197037220,0.290758520364761,-0.002707805950195,0.022772228345275,-0.084155626595020,0.020700557157397,-0.051652248948812,-0.010444938205183,-0.114369720220566,0.068848922848701,-0.018934052437544,0.174318134784698,0.020479990169406,0.141161829233170) * MODEL5_texOff(vec2(-1,1));
res += mat4(0.147107288241386,-0.071004301309586,-0.017753154039383,0.050549793988466,0.266167521476746,0.220224604010582,-0.013013498857617,-0.068818435072899,0.046873435378075,0.077503375709057,-0.026244798675179,0.048833768814802,0.051995575428009,-0.136382073163986,-0.167799010872841,0.184532269835472) * MODEL5_texOff(vec2(0,-1));
res += mat4(-0.039428453892469,-0.160914823412895,0.256374478340149,-0.054199621081352,-0.358071058988571,-0.265089243650436,-0.271727323532104,-0.504218339920044,-0.140475630760193,0.007995513267815,-0.115045696496964,-0.131026402115822,-0.051988314837217,0.012477344833314,-0.037320449948311,0.163800418376923) * MODEL5_texOff(vec2(0,0));
res += mat4(-0.264097094535828,0.252008199691772,-0.276122599840164,0.044204335659742,-0.054798752069473,-0.119697466492653,-0.061174564063549,0.143607065081596,-0.149112373590469,-0.004113371018320,-0.223114311695099,-0.049746066331863,-0.233935654163361,0.145709455013275,-0.004081337247044,0.198708087205887) * MODEL5_texOff(vec2(0,1));
res += mat4(-0.012155833654106,-0.141897112131119,0.102228611707687,-0.031021093949676,0.029574252665043,0.067111961543560,0.090510800480843,-0.056177087128162,-0.054611813277006,-0.047978088259697,-0.056011110544205,-0.026948910206556,0.051198132336140,-0.073617294430733,0.164568960666656,-0.026829063892365) * MODEL5_texOff(vec2(1,-1));
res += mat4(-0.564714789390564,-0.036897085607052,-0.077684551477432,0.028317242860794,0.121588945388794,0.142478987574577,0.065375357866287,-0.012915805913508,-0.280745834112167,-0.081604219973087,-0.037858676165342,0.008355693891644,0.000592882512137,0.082749895751476,0.095159702003002,0.071753293275833) * MODEL5_texOff(vec2(1,0));
res += mat4(-0.379567742347717,0.174568071961403,-0.120995365083218,-0.026374787092209,-0.093681901693344,-0.046945270150900,-0.048245832324028,-0.030237786471844,-0.020337708294392,-0.058416120707989,-0.417119950056076,-0.266725182533264,-0.097313024103642,0.301014274358749,-0.027625113725662,0.106065236032009) * MODEL5_texOff(vec2(1,1));
res += mat4(-0.174391135573387,-0.152354776859283,0.136230573058128,0.102432899177074,0.068341687321663,0.013522127643228,0.035937387496233,-0.028576236218214,-0.145033657550812,-0.074830219149590,0.045562546700239,0.070696115493774,-0.085920378565788,-0.010592379607260,0.051642928272486,0.058670386672020) * MODEL6_texOff(vec2(-1,-1));
res += mat4(0.008816428482533,0.087301485240459,-0.043471720069647,0.138646528124809,0.149420306086540,-0.046676095575094,0.064922861754894,0.072385542094707,-0.103776387870312,-0.068750001490116,-0.054836235940456,0.243183538317680,-0.031020168215036,-0.015093971975148,0.028694080188870,0.083382107317448) * MODEL6_texOff(vec2(-1,0));
res += mat4(-0.064473435282707,0.280352681875229,-0.258472949266434,-0.106264576315880,0.027496444061399,-0.084825687110424,0.076567664742470,0.051602873951197,0.005995319690555,0.037489444017410,0.009164782240987,0.179000452160835,0.113594837486744,-0.015816291794181,0.141905605792999,-0.064841054379940) * MODEL6_texOff(vec2(-1,1));
res += mat4(-0.058214653283358,0.017395043745637,-0.015038390643895,-0.165001660585403,-0.021880136802793,0.074011504650116,0.036821350455284,0.052662599831820,-0.466149896383286,-0.216479077935219,-0.100608326494694,-0.138569846749306,-0.071528725326061,-0.178903281688690,0.118912547826767,-0.028927262872458) * MODEL6_texOff(vec2(0,-1));
res += mat4(0.015581677667797,0.182294145226479,0.003967056050897,-0.347835004329681,0.159317970275879,0.023630606010556,-0.007386290933937,-0.167473360896111,-0.599342107772827,0.067032158374786,-0.319931685924530,-0.077749446034431,-0.065791465342045,-0.025289617478848,0.105312846601009,0.046231441199780) * MODEL6_texOff(vec2(0,0));
res += mat4(0.083031691610813,0.052259184420109,0.155137240886688,-0.084516696631908,0.080676272511482,-0.070262774825096,-0.034883890300989,0.175581306219101,-0.034636966884136,0.070106700062752,-0.104358442127705,0.009349734522402,0.159114152193069,-0.003971146885306,0.038362719118595,0.069442987442017) * MODEL6_texOff(vec2(0,1));
res += mat4(0.073247529566288,0.022458611056209,0.005986021365970,0.023852469399571,0.063891597092152,0.040778588503599,0.004885678179562,0.092093668878078,-0.027606284245849,-0.020614681765437,0.107544325292110,-0.184099227190018,-0.109605297446251,0.083761267364025,-0.041911691427231,-0.047865070402622) * MODEL6_texOff(vec2(1,-1));
res += mat4(0.086124002933502,0.265450626611710,0.163928881287575,0.082451000809669,0.110629424452782,-0.099074967205524,-0.106808654963970,0.092478848993778,0.014829881489277,0.078780047595501,-0.011470989324152,-0.259308546781540,-0.456574708223343,0.143021747469902,-0.052429046481848,-0.138007104396820) * MODEL6_texOff(vec2(1,0));
res += mat4(0.032253555953503,0.022455653175712,0.013833514414728,0.099241591989994,0.209759786725044,0.020866800099611,0.299315392971039,0.127980440855026,-0.002911373507231,0.109312817454338,-0.040966231375933,-0.108830220997334,-0.041902247816324,0.187782496213913,-0.115802377462387,-0.130117744207382) * MODEL6_texOff(vec2(1,1));
res += FEATURE5_texOff(0);
res = max(res, vec4(0.0)) + vec4(0.125668793916702,0.603140234947205,0.073805697262287,0.514091670513153) * min(res, vec4(0.0));
return res;
}

//!HOOK LUMA
//!WHEN OUTPUT.w LUMA.w 2.200 * > OUTPUT.h LUMA.h 2.200 * > *
//!COMPONENTS 4
//!BIND MODEL1
//!BIND MODEL2
//!BIND MODEL3
//!BIND MODEL4
//!BIND MODEL5
//!BIND MODEL6
//!BIND FEATURE6
//!SAVE MODEL12
//!DESC [AiUpscale_HQ_Sharp_3x_LineArt] mapping 4_6

vec4 hook()
{
vec4 res = vec4(-0.326761156320572,0.363466441631317,-0.141280442476273,-0.005869337357581);
res += mat4(0.087980136275291,-0.065847635269165,-0.002828448079526,0.025121143087745,-0.105661019682884,-0.031592871993780,0.079910919070244,-0.000714115565643,-0.044930871576071,0.232475683093071,-0.008584826253355,-0.021595668047667,-0.056174352765083,-0.260388165712357,-0.166357338428497,-0.012233980931342) * MODEL1_texOff(vec2(-1,-1));
res += mat4(0.111319310963154,0.139231652021408,-0.097198233008385,0.104805298149586,-0.068996921181679,0.277966022491455,-0.055351648479700,0.088572949171066,-0.043523889034986,-0.124541252851486,0.031271085143089,0.039941500872374,0.128126114606857,-0.290138661861420,-0.123321674764156,-0.019152542576194) * MODEL1_texOff(vec2(-1,0));
res += mat4(0.131514996290207,0.110200434923172,-0.329162478446960,0.049674630165100,0.148677185177803,-0.235638573765755,-0.049520384520292,0.055747658014297,0.021240770816803,-0.091409988701344,0.181390866637230,0.004210637882352,0.076846383512020,-0.140166133642197,-0.105567246675491,0.017184445634484) * MODEL1_texOff(vec2(-1,1));
res += mat4(0.166117131710052,0.086183935403824,-0.001811873982660,0.163706347346306,-0.051057435572147,-0.132955014705658,-0.063664399087429,0.136620372533798,-0.026980761438608,0.100027859210968,0.046868007630110,-0.082853026688099,0.115945085883141,-0.293507784605026,-0.207707956433296,-0.041172593832016) * MODEL1_texOff(vec2(0,-1));
res += mat4(0.114645868539810,-0.005010490305722,0.481917113065720,0.105183638632298,0.344217479228973,-0.265033364295959,0.033081628382206,-0.217421710491180,-0.031698696315289,0.041407089680433,0.081079639494419,-0.035141214728355,0.145327791571617,-0.408856511116028,-0.038558334112167,0.294577240943909) * MODEL1_texOff(vec2(0,0));
res += mat4(0.065815873444080,0.064628534018993,-0.034733980894089,-0.121102839708328,0.147704318165779,-0.011641024611890,-0.105312719941139,-0.027100434526801,-0.146569684147835,-0.314909279346466,-0.026120213791728,-0.037895463407040,0.055895149707794,-0.060906089842319,-0.230690971016884,0.027439281344414) * MODEL1_texOff(vec2(0,1));
res += mat4(0.041911363601685,0.019153391942382,0.127431899309158,0.053953576833010,0.025502381846309,-0.053824417293072,0.157543838024139,-0.025237992405891,0.016360025852919,-0.094749450683594,-0.075694739818573,-0.060443855822086,0.123782664537430,0.081428624689579,0.032144945114851,0.031844694167376) * MODEL1_texOff(vec2(1,-1));
res += mat4(-0.054250359535217,0.008485236205161,0.049067728221416,-0.005025930237025,0.134082257747650,-0.041042178869247,0.074627481400967,0.077265225350857,-0.083825945854187,0.052437987178564,0.092090092599392,0.115087352693081,0.080248765647411,0.113336212933064,0.187723889946938,-0.128466889262199) * MODEL1_texOff(vec2(1,0));
res += mat4(0.014371972531080,-0.217960104346275,0.158604636788368,-0.005161099135876,0.043432038277388,0.122580617666245,0.159251809120178,0.033085420727730,0.135543018579483,-0.061404403299093,-0.023334344848990,-0.008685362525284,0.029832160100341,0.133517131209373,-0.066399805247784,0.007338134571910) * MODEL1_texOff(vec2(1,1));
res += mat4(0.019391387701035,-0.000056530796428,-0.214255273342133,-0.000421219679993,0.012839041650295,0.122411489486694,0.241290479898453,0.067958131432533,-0.174395039677620,0.248371049761772,-0.068794652819633,0.066369861364365,-0.069589480757713,-0.083922766149044,0.014036537148058,0.082298569381237) * MODEL2_texOff(vec2(-1,-1));
res += mat4(-0.010776857845485,-0.015925994142890,-0.211303904652596,-0.002283670939505,-0.003518367419019,-0.394614338874817,0.083481393754482,0.109314717352390,-0.029339872300625,-0.066554747521877,-0.209544986486435,-0.004371667746454,0.050061792135239,-0.059108901768923,0.069251872599125,-0.022382257506251) * MODEL2_texOff(vec2(-1,0));
res += mat4(0.005383181385696,0.188706010580063,-0.122354090213776,0.030852282419801,0.038770791143179,0.171887874603271,0.173723533749580,0.067532591521740,-0.178035587072372,0.323352754116058,0.025638956576586,0.050003819167614,-0.056771617382765,-0.137244537472725,-0.005513304844499,-0.010014340281487) * MODEL2_texOff(vec2(-1,1));
res += mat4(0.044421166181564,-0.165801540017128,-0.062530092895031,0.098669685423374,0.062211900949478,0.397278398275375,0.349061161279678,0.074485547840595,-0.056342191994190,-0.054776862263680,-0.168965786695480,-0.003572359913960,0.090632572770119,-0.061342280358076,0.091552473604679,0.014728553593159) * MODEL2_texOff(vec2(0,-1));
res += mat4(0.044435400515795,-0.125733390450478,-0.179528847336769,-0.050048753619194,0.223025992512703,-0.215946868062019,0.080930128693581,0.003441235981882,0.022553201764822,-0.224323824048042,0.067783802747726,0.054425951093435,0.159372597932816,0.195066630840302,0.256528705358505,0.077846422791481) * MODEL2_texOff(vec2(0,0));
res += mat4(0.038660138845444,0.252250045537949,0.037333976477385,0.059125203639269,-0.019662212580442,0.207827031612396,0.095803961157799,-0.035728812217712,-0.025493059307337,0.175222858786583,0.157765179872513,-0.009681203402579,0.117451429367065,0.082488387823105,0.025450544431806,0.034866482019424) * MODEL2_texOff(vec2(0,1));
res += mat4(-0.022328535094857,0.156418398022652,-0.006607973948121,0.016590371727943,-0.075475007295609,0.048718571662903,0.049241326749325,-0.011873614974320,0.107953883707523,-0.216778486967087,-0.083750061690807,0.036492142826319,0.078277073800564,-0.135250359773636,0.116630278527737,0.053714986890554) * MODEL2_texOff(vec2(1,-1));
res += mat4(0.038405165076256,-0.145561918616295,-0.016886427998543,0.196656316518784,-0.034741502255201,-0.029808906838298,0.024954633787274,0.009554502554238,0.050835929811001,-0.186081185936928,0.167312368750572,-0.083025187253952,0.225649982690811,0.029641060158610,0.081356205046177,0.081054441630840) * MODEL2_texOff(vec2(1,0));
res += mat4(-0.105340242385864,0.277868270874023,0.000007403372365,0.048389531672001,-0.035236913710833,-0.032157253473997,0.141053110361099,-0.038898725062609,0.004963131155819,0.134639486670494,-0.038602858781815,-0.093995325267315,0.124729253351688,-0.098621539771557,-0.018112888559699,-0.068786054849625) * MODEL2_texOff(vec2(1,1));
res += mat4(-0.038900092244148,-0.145022004842758,-0.012428704649210,-0.003573719412088,-0.016002763062716,-0.282252758741379,-0.058742795139551,-0.106868818402290,0.008936253376305,-0.158734858036041,-0.000125373480842,-0.030104529112577,-0.071372374892235,-0.243698820471764,-0.063531026244164,-0.042871467769146) * MODEL3_texOff(vec2(-1,-1));
res += mat4(-0.088052801787853,-0.052713040262461,-0.123107358813286,0.016396692022681,0.023452837020159,-0.003944471944124,0.040076244622469,-0.086272709071636,-0.053140506148338,0.135957717895508,0.232920184731483,-0.014133518561721,-0.047776225954294,0.051557783037424,-0.041657596826553,0.053223121911287) * MODEL3_texOff(vec2(-1,0));
res += mat4(-0.022953456267715,0.102845698595047,-0.067147277295589,-0.017511028796434,-0.008511297404766,-0.040800713002682,0.068344913423061,-0.097947649657726,-0.023026058450341,-0.225112855434418,0.213084980845451,0.005220035091043,-0.050287388265133,-0.045011121779680,-0.104292318224907,-0.024702122434974) * MODEL3_texOff(vec2(-1,1));
res += mat4(-0.026672331616282,-0.370698809623718,0.039097759872675,0.022908177226782,0.077096104621887,0.063244611024857,-0.080533482134342,0.064029067754745,-0.058239638805389,0.053460784256458,-0.006272982805967,-0.091647274792194,-0.052457764744759,-0.121727176010609,-0.076835930347443,-0.082384407520294) * MODEL3_texOff(vec2(0,-1));
res += mat4(0.102699436247349,-0.078839488327503,-0.066955782473087,0.078886143863201,-0.040709301829338,0.131789520382881,0.194737166166306,0.085434071719646,-0.015427358448505,-0.040656164288521,-0.333221137523651,0.188478380441666,0.008660711348057,-0.078918278217316,-0.217297792434692,-0.142289921641350) * MODEL3_texOff(vec2(0,0));
res += mat4(0.024947818368673,0.114669770002365,-0.085354484617710,0.005460022948682,-0.063952006399632,0.005220880266279,0.070242919027805,-0.035212684422731,0.009387475438416,-0.044706676155329,-0.250767052173615,-0.055043842643499,-0.092833898961544,-0.091500431299210,-0.062179066240788,-0.013446477241814) * MODEL3_texOff(vec2(0,1));
res += mat4(-0.095404148101807,-0.139942273497581,0.025682482868433,-0.076079733669758,0.019633829593658,0.011970586143434,0.137846931815147,-0.130023106932640,0.014235913753510,-0.106638304889202,-0.005015815608203,0.010817401111126,0.102743662893772,-0.097936965525150,0.192562222480774,-0.087952718138695) * MODEL3_texOff(vec2(1,-1));
res += mat4(0.019051847979426,0.130231723189354,-0.175880879163742,-0.043479815125465,-0.010924119502306,0.057102788239717,0.070425905287266,-0.052190903574228,-0.000329318485456,-0.014899544417858,-0.025210589170456,-0.029414135962725,0.076825298368931,-0.317114919424057,-0.190089121460915,0.033892899751663) * MODEL3_texOff(vec2(1,0));
res += mat4(0.000624169129878,-0.011857388541102,-0.078516252338886,-0.048560068011284,-0.067142553627491,0.011887431144714,-0.054027643054724,0.005169935990125,0.032035633921623,-0.174056038260460,-0.017121884971857,0.004866223782301,0.072162836790085,-0.092746488749981,-0.064470723271370,0.008526916615665) * MODEL3_texOff(vec2(1,1));
res += mat4(-0.001256064744666,-0.002782589523122,0.027195902541280,0.013476646505296,-0.213633432984352,0.035751823335886,-0.042893469333649,-0.105116814374924,0.031918168067932,0.050206746906042,0.082461901009083,-0.009669808670878,-0.058679766952991,-0.040907666087151,0.086484424769878,-0.043567653745413) * MODEL4_texOff(vec2(-1,-1));
res += mat4(-0.050948638468981,0.225758716464043,0.137735202908516,0.021628748625517,-0.217788264155388,-0.122378394007683,0.189181894063950,-0.089244663715363,0.048092454671860,0.135184869170189,-0.124661341309547,0.028366312384605,0.019891824573278,0.202309444546700,0.139729350805283,0.044541928917170) * MODEL4_texOff(vec2(-1,0));
res += mat4(-0.016946626827121,-0.067683488130569,-0.038591776043177,0.062979198992252,0.016456255689263,-0.025091502815485,-0.083343058824539,-0.017567370086908,-0.024862878024578,0.079404070973396,0.015604317188263,-0.025932053104043,-0.037836812436581,-0.020615896210074,0.049768511205912,0.045283179730177) * MODEL4_texOff(vec2(-1,1));
res += mat4(0.070758908987045,-0.073555290699005,-0.033647157251835,-0.069952353835106,-0.040921006351709,-0.287971884012222,-0.217772379517555,0.149266064167023,0.101861543953419,0.002807138022035,0.111183561384678,-0.043350573629141,0.249555349349976,-0.075609855353832,-0.249836415052414,0.144855409860611) * MODEL4_texOff(vec2(0,-1));
res += mat4(0.008256957866251,0.020855832844973,0.076958425343037,-0.054048925638199,-0.194686606526375,0.012949586845934,0.338712006807327,0.060942199081182,0.127297952771187,-0.069065310060978,0.017073014751077,-0.120234504342079,0.290906757116318,-0.010577032342553,-0.073849566280842,0.040560491383076) * MODEL4_texOff(vec2(0,0));
res += mat4(0.053467918187380,-0.045455660670996,0.259726792573929,-0.055854048579931,-0.062994502484798,0.040683463215828,-0.044554121792316,-0.014086612500250,-0.204746335744858,0.189646959304810,0.068355761468410,-0.077003866434097,-0.054592505097389,0.119317933917046,-0.056736744940281,-0.014358840882778) * MODEL4_texOff(vec2(0,1));
res += mat4(0.110999517142773,0.085448786616325,-0.082664541900158,0.006455906201154,-0.094010859727859,0.211045786738396,0.242169186472893,-0.132086947560310,0.119381912052631,0.045832846313715,0.110042899847031,-0.006469010375440,-0.034876294434071,0.078217253088951,0.228901863098145,0.192262411117554) * MODEL4_texOff(vec2(1,-1));
res += mat4(0.009129704907537,0.103716902434826,0.068190149962902,-0.034848637878895,-0.150020033121109,-0.333927869796753,0.064843840897083,-0.121576704084873,0.041813053190708,-0.223976194858551,-0.107774302363396,-0.056337654590607,0.235212817788124,0.009639200754464,-0.002783752512187,0.081952519714832) * MODEL4_texOff(vec2(1,0));
res += mat4(-0.077487729489803,0.314542859792709,-0.032147347927094,0.050022684037685,-0.038012973964214,0.030483409762383,-0.102076902985573,-0.030044306069613,-0.120350427925587,0.118169456720352,0.014610607177019,-0.098668456077576,0.057517856359482,0.047981061041355,0.041038382798433,0.077445067465305) * MODEL4_texOff(vec2(1,1));
res += mat4(-0.033014349639416,0.093294866383076,-0.059088747948408,0.042634464800358,-0.011973191983998,0.196500301361084,0.172015815973282,-0.080342397093773,-0.040099587291479,-0.080285236239433,0.148469790816307,0.012469365261495,-0.032716896384954,0.071975655853748,-0.070634171366692,0.036137882620096) * MODEL5_texOff(vec2(-1,-1));
res += mat4(0.033841051161289,-0.305553406476974,0.048922721296549,-0.009617154486477,-0.162431269884109,-0.180075347423553,0.088740102946758,0.020029399544001,0.013712810352445,0.050657149404287,0.047612544149160,-0.019372792914510,-0.014962565153837,-0.015258257277310,-0.034177351742983,0.042002994567156) * MODEL5_texOff(vec2(-1,0));
res += mat4(-0.013011005707085,0.000822139496449,-0.056172948330641,0.078006215393543,0.018379529938102,0.186765119433403,-0.054763052612543,-0.012023101560771,-0.085785105824471,0.413275599479675,0.074722632765770,-0.042482618242502,0.071989886462688,0.232753917574883,-0.028426120057702,0.013527871109545) * MODEL5_texOff(vec2(-1,1));
res += mat4(-0.025693859905005,0.000256098137470,-0.019175034016371,0.024060817435384,0.021877268329263,-0.083205327391624,-0.003405326046050,0.017524993047118,-0.154875636100769,0.043941151350737,-0.042481441050768,-0.081141278147697,-0.076796092092991,-0.035397201776505,-0.070290610194206,0.003745223861188) * MODEL5_texOff(vec2(0,-1));
res += mat4(-0.064709298312664,0.243110522627831,-0.044389691203833,-0.045408423990011,0.190494358539581,0.017305849120021,-0.051302578300238,-0.020836960524321,0.057729318737984,0.339871942996979,0.055939432233572,0.050670653581619,0.096601009368896,-0.500301122665405,-0.212932169437408,0.026244547218084) * MODEL5_texOff(vec2(0,0));
res += mat4(0.206213161349297,0.034474566578865,0.043941073119640,0.022724429145455,-0.059314120560884,0.150603294372559,0.170470297336578,0.001269660424441,0.035039011389017,0.115563049912453,0.099458999931812,-0.106924362480640,0.093167923390865,0.163445904850960,0.152680963277817,-0.046559520065784) * MODEL5_texOff(vec2(0,1));
res += mat4(-0.089333578944206,-0.197296753525734,-0.001681623398326,0.039369329810143,0.172395676374435,-0.321607112884521,-0.014993505552411,0.202584177255630,-0.066604211926460,0.022930251434445,0.121468290686607,-0.077403217554092,-0.022542335093021,0.010729558765888,0.000073698174674,-0.088816612958908) * MODEL5_texOff(vec2(1,-1));
res += mat4(0.166920214891434,0.240768671035767,0.015196043066680,0.071354515850544,0.079806394875050,-0.220598578453064,-0.011008294299245,0.131873011589050,0.036370567977428,-0.126942187547684,0.216009199619293,0.164173617959023,0.125194177031517,0.022578626871109,-0.287431031465530,0.054453022778034) * MODEL5_texOff(vec2(1,0));
res += mat4(0.210402742028236,-0.162511050701141,0.066026233136654,0.033812142908573,-0.097414523363113,-0.071996293962002,0.052740018814802,0.012007557787001,0.023035237565637,-0.181545391678810,-0.121544972062111,-0.043426025658846,0.146123036742210,-0.056778032332659,0.085180670022964,0.044501677155495) * MODEL5_texOff(vec2(1,1));
res += mat4(0.033083997666836,-0.482052564620972,-0.048833746463060,-0.093983650207520,0.049632415175438,0.010489791631699,-0.001908598816954,-0.014641965739429,-0.012350282631814,-0.495894849300385,-0.034044899046421,0.014399565756321,0.024903491139412,-0.149282649159431,-0.160669729113579,-0.067618831992149) * MODEL6_texOff(vec2(-1,-1));
res += mat4(0.117646552622318,0.289444476366043,0.126667097210884,0.126674681901932,0.054438568651676,0.039971522986889,-0.008371360599995,0.110828340053558,0.023623403161764,0.133188247680664,-0.004872468300164,-0.014659421518445,-0.046220168471336,-0.024495877325535,-0.112479850649834,-0.049847066402435) * MODEL6_texOff(vec2(-1,0));
res += mat4(0.179609939455986,-0.308949828147888,-0.068154759705067,-0.043044008314610,-0.064259737730026,-0.036791395395994,0.073360688984394,0.082915827631950,0.018962234258652,0.037382725626230,0.052096646279097,-0.086275249719620,-0.027891291305423,0.038721997290850,-0.169135183095932,-0.007279681973159) * MODEL6_texOff(vec2(-1,1));
res += mat4(-0.013788241893053,-0.178164497017860,0.000728450890165,0.006455459631979,-0.004609975498170,0.138920634984970,-0.065562643110752,-0.024567520245910,0.149335131049156,-0.955643355846405,-0.293010681867599,0.002444587880746,-0.074145205318928,-0.295803695917130,-0.022688996046782,-0.090624399483204) * MODEL6_texOff(vec2(0,-1));
res += mat4(-0.080549940466881,0.041553784161806,0.075110346078873,-0.108749516308308,-0.034763071686029,0.146924197673798,0.115090429782867,-0.243918195366859,0.183225944638252,-0.270354598760605,-0.171444058418274,0.019036622717977,0.124742165207863,-0.403326481580734,-0.343071073293686,-0.129910677671432) * MODEL6_texOff(vec2(0,0));
res += mat4(0.043386079370975,0.170341148972511,0.171733111143112,0.019476279616356,-0.014649316668510,0.007135731168091,-0.000768382975366,-0.018624998629093,0.069815225899220,-0.124714851379395,0.033092264086008,-0.095225714147091,-0.057548444718122,-0.009620772674680,-0.005250458605587,-0.120410695672035) * MODEL6_texOff(vec2(0,1));
res += mat4(-0.043651420623064,0.184931293129921,-0.067625105381012,0.014292786829174,0.003862770041451,-0.169076457619667,-0.101510398089886,0.008995637297630,0.034199956804514,-0.340461969375610,-0.020762018859386,-0.076864719390869,0.020231014117599,0.077894255518913,0.003137421095744,0.046050991863012) * MODEL6_texOff(vec2(1,-1));
res += mat4(0.003506140550599,0.073104470968246,0.057235073298216,0.104527473449707,0.051811862736940,-0.074290357530117,0.084298536181450,0.161050230264664,0.097412191331387,-0.098016686737537,0.030170354992151,-0.088876441121101,0.125834465026855,-0.080503270030022,-0.032164353877306,0.074690148234367) * MODEL6_texOff(vec2(1,0));
res += mat4(-0.045778304338455,0.148389562964439,-0.008579025976360,0.008450733497739,0.028223196044564,-0.179447785019875,0.087944127619267,-0.010930503718555,0.011952391825616,0.001999417785555,0.007007207255810,-0.107056282460690,-0.040295008569956,-0.150994196534157,0.043037340044975,-0.016210019588470) * MODEL6_texOff(vec2(1,1));
res += FEATURE6_texOff(0);
res = max(res, vec4(0.0)) + vec4(-0.026182711124420,0.149590924382210,0.084072828292847,0.903265774250031) * min(res, vec4(0.0));
return res;
}

//!HOOK LUMA
//!WHEN OUTPUT.w LUMA.w 2.200 * > OUTPUT.h LUMA.h 2.200 * > *
//!COMPONENTS 4
//!BIND MODEL7
//!BIND MODEL8
//!BIND MODEL9
//!BIND MODEL10
//!BIND MODEL11
//!BIND MODEL12
//!SAVE MODEL1
//!DESC [AiUpscale_HQ_Sharp_3x_LineArt] mapping 5_1

vec4 hook()
{
vec4 res = vec4(0.121530234813690,0.281187415122986,0.036044672131538,-0.237447947263718);
res += mat4(0.094081602990627,-0.039685085415840,-0.078902661800385,0.031587660312653,-0.056499652564526,0.216081023216248,0.003534483257681,-0.065082982182503,-0.008127640932798,-0.292447596788406,0.017882015556097,-0.035067781805992,0.094907775521278,0.036494050174952,0.075967252254486,-0.095476627349854) * MODEL7_texOff(vec2(-1,-1));
res += mat4(-0.152552515268326,0.101019389927387,0.085932917892933,-0.082483172416687,0.092357300221920,0.046218372881413,-0.054848965257406,-0.112516246736050,-0.021395483985543,-0.154799729585648,0.053296562284231,0.034314699470997,-0.027399329468608,0.048727840185165,0.028430458158255,-0.325287520885468) * MODEL7_texOff(vec2(-1,0));
res += mat4(-0.122727386653423,-0.128369674086571,0.139253407716751,-0.077329710125923,-0.147145926952362,0.017227863892913,-0.033536594361067,-0.097973600029945,-0.024588754400611,-0.019442271441221,0.029698530212045,-0.020906185731292,0.084620505571365,-0.206952974200249,-0.025446305051446,-0.176745817065239) * MODEL7_texOff(vec2(-1,1));
res += mat4(0.221499815583229,0.093797825276852,-0.129901602864265,-0.155962228775024,-0.015297439880669,0.015373059548438,-0.003750233445317,0.149067625403404,-0.037869289517403,0.096867747604847,0.262540727853775,-0.053059268742800,0.018670111894608,-0.135620951652527,0.051710084080696,0.067628085613251) * MODEL7_texOff(vec2(0,-1));
res += mat4(0.048157263547182,0.081482581794262,0.261470675468445,0.240644231438637,0.599535763263702,-0.108629792928696,-0.037945505231619,-0.257424235343933,-0.031036548316479,-0.006962924730033,0.037274822592735,0.100679516792297,-0.291917324066162,-0.157329425215721,-0.254034340381622,0.108150519430637) * MODEL7_texOff(vec2(0,0));
res += mat4(0.248337075114250,-0.162790849804878,-0.099782496690750,-0.040168076753616,-0.035567972809076,0.119205601513386,0.175111338496208,0.214448928833008,-0.110632240772247,-0.089520618319511,0.045087017118931,-0.126509889960289,0.300303637981415,-0.177567183971405,0.000992192421108,-0.305692791938782) * MODEL7_texOff(vec2(0,1));
res += mat4(0.206427320837975,-0.026137208566070,0.098117262125015,-0.120733059942722,-0.022714897990227,0.060932032763958,0.082597084343433,-0.020451368764043,-0.159122437238693,0.412023454904556,0.024038590490818,-0.042600892484188,0.105994887650013,-0.092373572289944,-0.040548902004957,0.103262200951576) * MODEL7_texOff(vec2(1,-1));
res += mat4(0.192749708890915,0.046102445572615,0.075417198240757,0.170278921723366,0.174003496766090,0.125514805316925,0.002633956959471,-0.082111828029156,-0.143005758523941,0.035998821258545,0.121407039463520,0.002741771284491,0.233716756105423,-0.096078298985958,0.059860188513994,-0.140122428536415) * MODEL7_texOff(vec2(1,0));
res += mat4(0.071512311697006,0.124840378761292,0.030544623732567,0.011395461857319,0.082125850021839,-0.042898505926132,-0.023514484986663,0.060962930321693,-0.114153280854225,0.010143226943910,0.193547755479813,-0.072983182966709,0.202643498778343,-0.045286562293768,0.116984300315380,-0.239578545093536) * MODEL7_texOff(vec2(1,1));
res += mat4(-0.034154847264290,0.021766003221273,-0.228762850165367,-0.103598505258560,0.213291466236115,-0.206954255700111,-0.113798111677170,0.039185106754303,0.118055902421474,-0.181253463029861,0.015063173137605,-0.091009795665741,-0.041199333965778,0.074456386268139,0.119781911373138,0.106426618993282) * MODEL8_texOff(vec2(-1,-1));
res += mat4(0.057665709406137,0.005210903938860,0.281407028436661,0.109226271510124,0.101776018738747,-0.195504754781723,0.046959616243839,-0.009596982970834,-0.011843688786030,0.039974149316549,0.097567491233349,-0.057940527796745,-0.094310469925404,0.199315041303635,0.043628271669149,0.152077808976173) * MODEL8_texOff(vec2(-1,0));
res += mat4(-0.227187380194664,0.089041009545326,-0.070252008736134,-0.108549609780312,0.043134346604347,-0.101907692849636,-0.010507375001907,-0.055292122066021,0.003773749573156,-0.092554621398449,-0.114947460591793,-0.147657856345177,0.042794264853001,0.064693696796894,0.192278519272804,-0.081788972020149) * MODEL8_texOff(vec2(-1,1));
res += mat4(-0.020899552851915,-0.086480759084225,0.355802446603775,0.204781666398048,0.072870746254921,-0.190007999539375,-0.214161992073059,-0.178750023245811,-0.021469989791512,0.087023772299290,-0.092492729425430,-0.188410788774490,-0.142958194017410,-0.052136700600386,0.085538744926453,0.002497964771464) * MODEL8_texOff(vec2(0,-1));
res += mat4(-0.052227836102247,-0.009595605544746,-0.347236543893814,-0.338805019855499,0.103750035166740,-0.360950052738190,-0.170837402343750,-0.037436928600073,0.098350241780281,-0.041267592459917,-0.299697488546371,0.414889574050903,0.109819374978542,-0.217333704233170,0.287370234727859,-0.034581318497658) * MODEL8_texOff(vec2(0,0));
res += mat4(-0.353812992572784,-0.015114796347916,-0.069737911224365,-0.019503269344568,0.060224965214729,-0.143081307411194,0.009526150301099,-0.122755400836468,-0.029562825337052,0.039739642292261,0.082970045506954,0.195907086133957,-0.200556367635727,0.036288179457188,-0.053878001868725,-0.086802840232849) * MODEL8_texOff(vec2(0,1));
res += mat4(-0.015732048079371,0.149041265249252,-0.280196219682693,-0.045254290103912,0.040299665182829,-0.190851256251335,0.064579389989376,-0.102711223065853,0.087808027863503,-0.028377756476402,0.039728388190269,-0.214916929602623,-0.051191743463278,0.005135280545801,0.204178676009178,0.236211672425270) * MODEL8_texOff(vec2(1,-1));
res += mat4(0.020497389137745,-0.079859413206577,0.263667970895767,0.061894241720438,0.070758119225502,-0.111133769154549,0.037055592983961,0.142171025276184,-0.116722211241722,-0.156460151076317,0.163387447595596,-0.009990045800805,-0.036602932959795,-0.081369176506996,-0.174391850829124,-0.155697986483574) * MODEL8_texOff(vec2(1,0));
res += mat4(-0.172563210129738,-0.096250273287296,-0.129838332533836,0.001357590081170,0.070398785173893,-0.103006780147552,0.017296152189374,-0.037187848240137,0.018665708601475,-0.076500914990902,0.002491027582437,0.034084681421518,-0.133354589343071,-0.081731863319874,-0.028378827497363,-0.106624655425549) * MODEL8_texOff(vec2(1,1));
res += mat4(0.060526415705681,-0.002738615265116,-0.262308239936829,0.051532253623009,-0.098476238548756,-0.004603492096066,-0.284390687942505,-0.132256060838699,0.069498606026173,-0.394359558820724,0.033091038465500,-0.075532227754593,-0.012671777978539,-0.092220261693001,-0.041489854454994,-0.132782444357872) * MODEL9_texOff(vec2(-1,-1));
res += mat4(0.123466476798058,-0.001565803308040,-0.148950681090355,0.077473551034927,0.163051411509514,-0.291578531265259,0.164214149117470,-0.041333016008139,-0.117841534316540,-0.243754535913467,0.073893249034882,0.149956986308098,-0.183019623160362,0.340913504362106,0.265811055898666,0.147988080978394) * MODEL9_texOff(vec2(-1,0));
res += mat4(0.111598379909992,0.164826720952988,0.049278497695923,0.094716891646385,0.094021312892437,0.197181880474091,-0.096496060490608,0.093060895800591,0.045139435678720,-0.169540613889694,0.033995434641838,0.010396049357951,0.002563880058005,0.052711252123117,-0.035135410726070,-0.014875095337629) * MODEL9_texOff(vec2(-1,1));
res += mat4(0.025590058416128,-0.211191445589066,-0.224773257970810,-0.281982243061066,0.032759115099907,-0.205233320593834,0.007543598767370,-0.147813320159912,0.040534872561693,-0.131809487938881,-0.291721791028976,0.335612535476685,0.055453348904848,0.058662179857492,0.309951633214951,-0.268835604190826) * MODEL9_texOff(vec2(0,-1));
res += mat4(0.213839024305344,0.306007623672485,0.271769434213638,0.466933637857437,0.261273741722107,0.279378503561020,0.018497440963984,-0.039667271077633,-0.334978878498077,-0.594240128993988,-0.527914464473724,-0.112948223948479,0.005766585934907,0.191390857100487,0.006906443275511,-0.116914920508862) * MODEL9_texOff(vec2(0,0));
res += mat4(0.011583910323679,-0.050207972526550,0.050202462822199,-0.054706100374460,0.043738879263401,0.227948188781738,-0.026114789769053,0.131510645151138,0.139401048421860,-0.501426100730896,-0.448088347911835,-0.154801100492477,-0.084768623113632,0.257110863924026,0.194786876440048,0.370914965867996) * MODEL9_texOff(vec2(0,1));
res += mat4(0.108058080077171,-0.072519101202488,0.044306710362434,-0.229449734091759,0.050689969211817,0.022297216579318,-0.503173410892487,0.248859286308289,0.032546319067478,-0.172693848609924,-0.069674454629421,-0.043843030929565,0.030699165537953,0.211577221751213,-0.118081137537956,0.029180373996496) * MODEL9_texOff(vec2(1,-1));
res += mat4(0.087698198854923,0.009205860085785,0.036047149449587,-0.049746669828892,-0.030641859397292,0.162711620330811,-0.066136054694653,-0.178291440010071,0.012102644890547,-0.454646199941635,0.113177455961704,0.039791945368052,-0.081100568175316,0.123187869787216,0.361243933439255,-0.145502313971519) * MODEL9_texOff(vec2(1,0));
res += mat4(-0.059317920356989,-0.022216176614165,0.013376492075622,-0.104484215378761,0.015685006976128,-0.297209173440933,-0.289716243743896,0.144447892904282,0.008252925239503,-0.203870996832848,0.015851920470595,-0.027177453041077,-0.089104324579239,0.057888854295015,0.161926954984665,0.103301197290421) * MODEL9_texOff(vec2(1,1));
res += mat4(0.049272567033768,0.233236595988274,0.224327802658081,-0.002284449059516,-0.255545049905777,0.073022857308388,0.330927103757858,0.143408864736557,-0.162592113018036,0.097030863165855,-0.083684206008911,-0.185631021857262,0.058288399130106,-0.327733665704727,-0.266095548868179,0.071669131517410) * MODEL10_texOff(vec2(-1,-1));
res += mat4(0.044975914061069,0.266356885433197,0.072063907980919,-0.055879469960928,-0.501113176345825,0.073354601860046,0.104705087840557,0.085814006626606,0.415470123291016,-0.178174450993538,-0.136696457862854,0.145613551139832,0.083158262073994,-0.217819109559059,-0.176135152578354,0.008486199192703) * MODEL10_texOff(vec2(-1,0));
res += mat4(-0.106246493756771,-0.185917437076569,0.121333986520767,-0.057023230940104,-0.331128150224686,0.044695578515530,0.046711407601833,0.069341629743576,-0.157642364501953,0.141520038247108,0.159669458866119,0.010277215391397,0.054135557264090,-0.046433132141829,0.065087765455246,0.020797045901418) * MODEL10_texOff(vec2(-1,1));
res += mat4(-0.035542011260986,0.039504308253527,0.063753291964531,-0.060778610408306,-0.255006879568100,0.000171305495314,0.157622605562210,0.265020817518234,-0.003522269194946,-0.195276841521263,0.324724584817886,-0.217668384313583,-0.010075406171381,-0.586630761623383,-0.266863644123077,0.236876845359802) * MODEL10_texOff(vec2(0,-1));
res += mat4(-0.030504805967212,-0.216414794325829,0.377871423959732,0.247999951243401,-0.141691267490387,0.167585358023643,-0.092053577303886,0.003942605573684,0.151557251811028,-0.041396088898182,0.001669979770668,0.145860463380814,-0.166623890399933,-0.303019940853119,-0.149061888456345,0.002455711830407) * MODEL10_texOff(vec2(0,0));
res += mat4(0.051553282886744,0.105096630752087,0.287511885166168,0.119317181408405,-0.051359482109547,-0.030868196859956,-0.080096527934074,0.122215770184994,-0.116852395236492,0.249136209487915,-0.071519069373608,0.046757783740759,-0.082385919988155,-0.040358353406191,-0.045732624828815,0.136781409382820) * MODEL10_texOff(vec2(0,1));
res += mat4(0.020051596686244,-0.016680087894201,0.116044066846371,-0.077531315386295,-0.143463850021362,-0.012675467878580,0.027512528002262,0.191801413893700,-0.151268705725670,0.317301541566849,-0.262065172195435,0.009981058537960,-0.121781304478645,-0.037431672215462,-0.105499863624573,-0.063407421112061) * MODEL10_texOff(vec2(1,-1));
res += mat4(-0.168967828154564,0.207805082201958,0.247611597180367,-0.244740098714828,0.074762322008610,-0.059105444699526,0.139059722423553,0.035955343395472,-0.127621054649353,0.092000320553780,-0.202513828873634,0.086738310754299,0.188381209969521,-0.316134393215179,-0.256375640630722,0.012105887755752) * MODEL10_texOff(vec2(1,0));
res += mat4(-0.032499827444553,0.013358113355935,-0.204631775617599,0.003140951506793,-0.086260363459587,-0.075746923685074,-0.071670010685921,0.099040366709232,0.082276925444603,-0.014186076819897,0.056738086044788,-0.091977261006832,-0.036912236362696,-0.118526212871075,-0.069158524274826,-0.013753158971667) * MODEL10_texOff(vec2(1,1));
res += mat4(0.249708235263824,-0.266699343919754,-0.009856428951025,0.010177722200751,-0.038411278277636,-0.075456634163857,-0.010643597692251,0.035436015576124,0.121288143098354,-0.200935050845146,-0.104841500520706,0.077765755355358,0.046507179737091,-0.352477908134460,0.119172513484955,0.012925118207932) * MODEL11_texOff(vec2(-1,-1));
res += mat4(-0.416527152061462,-0.134283035993576,0.116882748901844,-0.022525785490870,-0.045973073691130,-0.105722315609455,0.113730132579803,-0.071091033518314,-0.152043521404266,-0.245479241013527,-0.051698330789804,-0.018558457493782,-0.063819967210293,-0.097774550318718,-0.096672825515270,0.312021344900131) * MODEL11_texOff(vec2(-1,0));
res += mat4(0.048131007701159,0.089741013944149,0.038523714989424,-0.078063763678074,-0.265482425689697,0.083317220211029,-0.017382711172104,0.203267574310303,-0.294594615697861,0.143219217658043,-0.012533135712147,0.069174520671368,0.015326588414609,0.060950722545385,0.086640171706676,-0.018699085339904) * MODEL11_texOff(vec2(-1,1));
res += mat4(-0.126874625682831,0.121331788599491,-0.175174295902252,0.443983316421509,0.142134770750999,-0.055910907685757,-0.020948043093085,0.159187629818916,0.213483348488808,-0.176461413502693,-0.077310442924500,0.024551741778851,0.182709008455276,-0.072108656167984,-0.030968470498919,0.229490593075752) * MODEL11_texOff(vec2(0,-1));
res += mat4(-0.058260716497898,-0.162228032946587,-0.170846730470657,-0.307326942682266,-0.079353123903275,0.012309609912336,0.201266944408417,-0.265897154808044,-0.263541251420975,-0.067564062774181,0.156069874763489,-0.222995147109032,0.018317868933082,-0.142925724387169,-0.154133304953575,-0.291660845279694) * MODEL11_texOff(vec2(0,0));
res += mat4(0.059826783835888,-0.130332380533218,-0.097954399883747,-0.121721960604191,0.076548121869564,0.015633920207620,0.054559115320444,0.196907520294189,-0.204016730189323,-0.085148029029369,-0.002419685479254,0.037087265402079,-0.009183299727738,0.051056381314993,0.126684084534645,0.033217951655388) * MODEL11_texOff(vec2(0,1));
res += mat4(-0.127775385975838,-0.120997466146946,0.143287539482117,-0.015186420641840,-0.057820696383715,0.092691592872143,0.013382389210165,0.039535485208035,0.006743627600372,-0.070309989154339,0.042566537857056,-0.113641306757927,-0.003711509518325,-0.103500038385391,0.025061653926969,-0.081286028027534) * MODEL11_texOff(vec2(1,-1));
res += mat4(-0.211859181523323,0.214251741766930,-0.375669211149216,0.012150109745562,-0.018970927223563,-0.151426583528519,-0.142490595579147,-0.067987658083439,-0.232160747051239,0.080249264836311,-0.083544611930847,-0.090131722390652,0.202049836516380,-0.060911737382412,-0.104433380067348,0.032956328243017) * MODEL11_texOff(vec2(1,0));
res += mat4(-0.021836981177330,0.095826297998428,-0.057574037462473,0.091603353619576,0.029218297451735,0.049384202808142,-0.134620219469070,-0.043692164123058,-0.019505713135004,0.000324513384840,0.008238651789725,0.040422759950161,-0.087792418897152,0.054519392549992,-0.092423006892204,-0.048361804336309) * MODEL11_texOff(vec2(1,1));
res += mat4(-0.085309877991676,-0.097863189876080,0.067787751555443,0.134542018175125,-0.129671975970268,0.163406923413277,-0.036186642944813,-0.075990244746208,0.106863640248775,0.044915296137333,-0.048795342445374,-0.050593897700310,-0.000397276249714,-0.214327111840248,0.166687324643135,0.096580475568771) * MODEL12_texOff(vec2(-1,-1));
res += mat4(0.077511154115200,0.167867571115494,0.136332556605339,0.039166174829006,0.218375578522682,0.075994297862053,0.141307249665260,0.014601803384721,0.046344719827175,0.160681799054146,-0.275800555944443,-0.173286736011505,-0.160203918814659,-0.034644231200218,0.050231773406267,-0.180840373039246) * MODEL12_texOff(vec2(-1,0));
res += mat4(-0.033541232347488,-0.096286766231060,-0.127485260367393,-0.061694286763668,-0.005944221746176,0.197437539696693,0.006392630282789,0.102599389851093,0.089894935488701,0.064698547124863,0.216060712933540,0.066809050738811,-0.064294993877411,-0.125969260931015,-0.217509225010872,-0.113245368003845) * MODEL12_texOff(vec2(-1,1));
res += mat4(-0.077518306672573,0.116037189960480,-0.132393583655357,0.017182005569339,-0.016050435602665,0.111090645194054,0.368856608867645,-0.260961323976517,-0.137973397970200,-0.066678903996944,-0.148960411548615,0.126658096909523,-0.029086563736200,0.165296569466591,0.175171807408333,-0.124292016029358) * MODEL12_texOff(vec2(0,-1));
res += mat4(-0.195672273635864,-0.067695058882236,-0.057887952774763,0.106053866446018,0.441977888345718,0.228453055024147,0.038488086313009,0.257930099964142,-0.330044567584991,-0.013972319662571,0.163753852248192,0.175425976514816,0.279630571603775,0.149953782558441,0.114773534238338,-0.173400416970253) * MODEL12_texOff(vec2(0,0));
res += mat4(-0.079376496374607,0.047955267131329,-0.022981727495790,-0.190606206655502,0.059845115989447,0.267268925905228,0.039738077670336,0.282763510942459,0.122269466519356,-0.096336036920547,-0.147965803742409,-0.061971615999937,-0.118835039436817,0.049072422087193,0.032185520976782,0.031006488949060) * MODEL12_texOff(vec2(0,1));
res += mat4(0.038773942738771,0.049985185265541,-0.063991852104664,-0.027865076437593,-0.007596847135574,-0.027186609804630,-0.117197729647160,-0.016911769285798,-0.029542488977313,-0.074798889458179,0.187777802348137,-0.066771186888218,0.109202854335308,0.104335762560368,0.145184203982353,0.032355751842260) * MODEL12_texOff(vec2(1,-1));
res += mat4(0.033805336803198,-0.160831227898598,-0.135286659002304,0.037641048431396,0.078190281987190,0.011777651496232,0.042629234492779,0.270732283592224,-0.085185438394547,-0.031231287866831,0.037493951618671,0.008787249214947,0.033247452229261,0.001505205756985,-0.003296193201095,0.056243348866701) * MODEL12_texOff(vec2(1,0));
res += mat4(-0.052139040082693,-0.023036841303110,0.060246966779232,-0.082709833979607,0.005491361953318,0.020864540711045,-0.047952290624380,0.053837303072214,-0.030493138357997,-0.132772862911224,0.087938658893108,-0.027431584894657,0.033309664577246,0.136741861701012,0.039124730974436,0.048073314130306) * MODEL12_texOff(vec2(1,1));
res = max(res, vec4(0.0)) + vec4(0.279212146997452,0.035162746906281,0.162147343158722,0.796377420425415) * min(res, vec4(0.0));
return res;
}

//!HOOK LUMA
//!WHEN OUTPUT.w LUMA.w 2.200 * > OUTPUT.h LUMA.h 2.200 * > *
//!COMPONENTS 4
//!BIND MODEL7
//!BIND MODEL8
//!BIND MODEL9
//!BIND MODEL10
//!BIND MODEL11
//!BIND MODEL12
//!SAVE MODEL2
//!DESC [AiUpscale_HQ_Sharp_3x_LineArt] mapping 5_2

vec4 hook()
{
vec4 res = vec4(-0.353851556777954,0.115823365747929,-0.160673335194588,-0.225770309567451);
res += mat4(0.030942792072892,-0.000329595262883,0.193138346076012,0.092351272702217,0.110232032835484,0.139875978231430,0.135799393057823,-0.010669268667698,0.090406470000744,-0.004217999521643,-0.063563123345375,-0.083262845873833,0.031759526580572,0.127055898308754,-0.190751761198044,-0.083182007074356) * MODEL7_texOff(vec2(-1,-1));
res += mat4(0.036464329808950,-0.011923846788704,0.149083897471428,0.324719816446304,-0.082605108618736,0.027874872088432,0.056782778352499,0.284011602401733,0.033939573913813,-0.109052665531635,0.055487360805273,-0.221410453319550,-0.074952512979507,-0.104011274874210,0.111372962594032,0.131415277719498) * MODEL7_texOff(vec2(-1,0));
res += mat4(0.009165481664240,0.054493345320225,0.189037591218948,0.170258939266205,-0.088110215961933,-0.159359052777290,0.239629387855530,0.030328391119838,0.131846979260445,0.090004809200764,-0.040802776813507,-0.152472540736198,-0.105713322758675,-0.023373387753963,-0.060091245919466,-0.115248419344425) * MODEL7_texOff(vec2(-1,1));
res += mat4(-0.077170379459858,-0.034344479441643,0.006048692855984,0.049758017063141,0.046134818345308,0.060700893402100,0.042362395673990,-0.170308694243431,-0.007216236088425,0.037618171423674,0.037241600453854,-0.274091005325317,0.198556348681450,0.157982081174850,-0.029500601813197,-0.265731781721115) * MODEL7_texOff(vec2(0,-1));
res += mat4(0.087358035147190,-0.479660004377365,-0.223585426807404,0.087231621146202,0.249067947268486,-0.043455556035042,-0.171686083078384,-0.030556168407202,-0.237305164337158,0.269386559724808,0.093873262405396,0.010175534524024,-0.203066170215607,0.114494971930981,0.043385196477175,0.007244963198900) * MODEL7_texOff(vec2(0,0));
res += mat4(0.147284492850304,-0.083149209618568,0.134743869304657,0.012532428838313,0.030849985778332,-0.217936232686043,-0.064627543091774,-0.055610910058022,-0.090658746659756,0.302138268947601,-0.113022461533546,0.021831709891558,-0.181939452886581,-0.215146616101265,0.106394879519939,-0.205721393227577) * MODEL7_texOff(vec2(0,1));
res += mat4(-0.177929788827896,-0.090298444032669,-0.065632499754429,0.067763976752758,0.173272088170052,0.124797791242599,-0.116530358791351,0.091168075799942,-0.231991723179817,0.126000702381134,-0.044137012213469,-0.064350597560406,0.012324253097177,0.053853802382946,0.135920256376266,-0.210853427648544) * MODEL7_texOff(vec2(1,-1));
res += mat4(-0.175046697258949,0.003427741117775,-0.106534183025360,-0.036660701036453,-0.007751584518701,-0.071768663823605,-0.025657424703240,-0.023975940421224,-0.269022077322006,0.217678278684616,0.026661479845643,0.239040479063988,0.118142358958721,-0.147936850786209,-0.040981590747833,-0.084862194955349) * MODEL7_texOff(vec2(1,0));
res += mat4(0.141075134277344,0.189689606428146,-0.158250883221626,-0.040573485195637,0.209083944559097,-0.024424823001027,0.070370607078075,0.099197372794151,-0.125280976295471,0.092232115566730,0.194062173366547,-0.059883866459131,-0.155138179659843,-0.183423459529877,0.072954088449478,-0.181965887546539) * MODEL7_texOff(vec2(1,1));
res += mat4(-0.075160704553127,-0.105306535959244,-0.034451700747013,-0.047988303005695,0.068902187049389,-0.033802196383476,-0.179027736186981,-0.144082561135292,0.042347304522991,-0.172248557209969,-0.047731515020132,-0.015193201601505,-0.035025727003813,0.021607942879200,-0.096477761864662,0.115413650870323) * MODEL8_texOff(vec2(-1,-1));
res += mat4(-0.010091344825923,-0.021509658545256,-0.083977445960045,-0.071561373770237,0.080355606973171,0.024017851799726,-0.133394137024879,-0.141365781426430,0.275987476110458,-0.040002219378948,-0.237416133284569,-0.115443579852581,-0.077544510364532,0.079885989427567,-0.112741559743881,0.114372812211514) * MODEL8_texOff(vec2(-1,0));
res += mat4(-0.125750660896301,0.161715418100357,0.103353723883629,-0.001800064695999,0.005201612133533,-0.014374472200871,-0.030547462403774,-0.130658388137817,0.136756837368011,0.095428206026554,0.066087558865547,-0.143334478139877,-0.031348768621683,0.058634623885155,-0.027503151446581,0.013996586203575) * MODEL8_texOff(vec2(-1,1));
res += mat4(0.015840642154217,0.095022782683372,-0.308091938495636,0.145331993699074,-0.023769680410624,-0.057115387171507,0.075725667178631,-0.066904716193676,-0.095970630645752,0.056330621242523,0.143334403634071,0.006868766155094,0.127865895628929,0.095744743943214,0.002426040824503,0.041155554354191) * MODEL8_texOff(vec2(0,-1));
res += mat4(0.077628619968891,-0.297715783119202,-0.196842104196548,-0.041755639016628,-0.057595673948526,0.127576947212219,0.335064709186554,-0.034664835780859,0.029415698722005,-0.046643827110529,0.121759735047817,0.279671072959900,-0.000016062716895,-0.290171265602112,0.282854467630386,-0.174926176667213) * MODEL8_texOff(vec2(0,0));
res += mat4(-0.012178920209408,-0.275386750698090,-0.024209199473262,0.137961864471436,-0.076710417866707,-0.060387648642063,0.022917238995433,-0.146251291036606,0.080828957259655,0.057845115661621,-0.078972294926643,-0.009305022656918,-0.143065497279167,-0.059870868921280,-0.080764375627041,-0.008353211916983) * MODEL8_texOff(vec2(0,1));
res += mat4(-0.106234230101109,0.480893015861511,-0.025191513821483,0.107291221618652,0.060618542134762,-0.104808449745178,-0.026486642658710,0.030512617900968,-0.140288993716240,-0.106998607516289,0.132854819297791,-0.028598573058844,0.214997544884682,-0.036957975476980,-0.043587122112513,0.018492424860597) * MODEL8_texOff(vec2(1,-1));
res += mat4(-0.111813746392727,-0.068210996687412,-0.076601147651672,-0.116486042737961,0.075633898377419,-0.112004309892654,0.053771045058966,0.109727300703526,-0.053629733622074,-0.117094211280346,-0.070206336677074,0.006043578498065,-0.224814429879189,-0.014174281619489,0.075181625783443,-0.002402748446912) * MODEL8_texOff(vec2(1,0));
res += mat4(0.125494316220284,0.033488608896732,-0.065272621810436,0.004755161236972,-0.039025947451591,-0.057468149811029,-0.129801854491234,-0.225117832422256,-0.088078051805496,0.136374771595001,0.078971840441227,0.026105741038918,-0.091754481196404,-0.016665862873197,-0.135507881641388,-0.097489804029465) * MODEL8_texOff(vec2(1,1));
res += mat4(-0.245690599083900,-0.012301353737712,0.046730671077967,-0.000544750248082,0.089531935751438,0.108870893716812,0.202043682336807,-0.012926720082760,-0.017457364127040,-0.103794671595097,0.189999297261238,0.026938604190946,0.129578620195389,0.046436913311481,0.250757008790970,-0.133870348334312) * MODEL9_texOff(vec2(-1,-1));
res += mat4(0.177646949887276,-0.097833082079887,0.404242128133774,0.186578109860420,0.013057988137007,0.020498968660831,0.147738426923752,-0.000628621084616,0.022236140444875,0.012096221558750,-0.249078333377838,0.066030390560627,0.093549579381943,0.051273711025715,-0.052696742117405,0.047934826463461) * MODEL9_texOff(vec2(-1,0));
res += mat4(0.044242866337299,-0.083384118974209,-0.059756617993116,0.047434315085411,0.153070598840714,0.029821118339896,0.008970524184406,0.007910265587270,0.010003908537328,0.017337622120976,-0.194995999336243,0.008695057593286,0.137260660529137,0.046871304512024,-0.051797270774841,0.049423992633820) * MODEL9_texOff(vec2(-1,1));
res += mat4(-0.089024633169174,-0.050972778350115,-0.116036668419838,-0.040178872644901,-0.061129439622164,-0.183538496494293,-0.008048952557147,0.070951439440250,-0.101721055805683,-0.017637331038713,0.056826040148735,-0.061581581830978,-0.037611536681652,-0.285944253206253,0.067716136574745,-0.069983907043934) * MODEL9_texOff(vec2(0,-1));
res += mat4(0.077390328049660,-0.143619492650032,0.093149431049824,-0.158035233616829,-0.078762136399746,-0.157787904143333,0.207642763853073,-0.213959053158760,0.239994913339615,-0.050850950181484,-0.186102554202080,0.127972558140755,-0.371415674686432,-0.059533659368753,-0.148723766207695,-0.415594428777695) * MODEL9_texOff(vec2(0,0));
res += mat4(0.127893075346947,-0.025076923891902,-0.128524601459503,0.015824481844902,0.112383298575878,0.055583022534847,0.161806464195251,0.025138365104795,-0.199184626340866,0.078778587281704,-0.039535176008940,0.090986624360085,0.052177131175995,0.123788826167583,-0.157953754067421,0.054612934589386) * MODEL9_texOff(vec2(0,1));
res += mat4(-0.112226389348507,-0.110291279852390,-0.025959925726056,-0.058507729321718,-0.074555844068527,-0.096118226647377,-0.024412132799625,0.010826521553099,-0.039592128247023,-0.181425586342812,-0.095175422728062,0.027777403593063,-0.201155394315720,-0.153079524636269,-0.053625702857971,0.124329395592213) * MODEL9_texOff(vec2(1,-1));
res += mat4(0.111724175512791,-0.034703407436609,0.080762542784214,-0.059622827917337,0.000148229024489,-0.217256218194962,-0.476450115442276,-0.369378954172134,0.207823947072029,-0.245127841830254,-0.069402217864990,-0.073563806712627,-0.140761956572533,-0.099039159715176,-0.163575932383537,0.196907699108124) * MODEL9_texOff(vec2(1,0));
res += mat4(-0.038344126194715,0.043369304388762,-0.057934191077948,0.002395159564912,0.075604543089867,0.050551623106003,-0.191356956958771,-0.039086509495974,0.006877299863845,-0.077217042446136,-0.003446516115218,0.082050822675228,0.010736812837422,0.098180159926414,-0.106199644505978,-0.030305350199342) * MODEL9_texOff(vec2(1,1));
res += mat4(0.106305181980133,0.111732862889767,-0.200900405645370,-0.105347149074078,0.052720826119184,-0.115430191159248,0.135235875844955,0.251565337181091,0.133715599775314,-0.042110368609428,0.244029924273491,-0.028572274371982,-0.021394170820713,-0.128560036420822,0.186549723148346,-0.151437550783157) * MODEL10_texOff(vec2(-1,-1));
res += mat4(0.043373968452215,0.083455108106136,-0.159522399306297,-0.000025829598599,0.101636394858360,0.028274307027459,0.075580045580864,0.229312360286713,-0.204677775502205,-0.180779844522476,0.328419059514999,-0.059534754604101,0.062276184558868,-0.043744675815105,0.270846039056778,-0.038322091102600) * MODEL10_texOff(vec2(-1,0));
res += mat4(0.073209010064602,-0.078110136091709,-0.008758692070842,0.001290106098168,0.098442688584328,0.107522740960121,0.120839677751064,0.153458803892136,0.016683146357536,0.063414312899113,0.249325722455978,0.124265439808369,0.064319886267185,-0.121876165270805,0.039913978427649,0.001074848696589) * MODEL10_texOff(vec2(-1,1));
res += mat4(0.051658209413290,0.148041084408760,0.031304541975260,0.071308270096779,0.185474738478661,0.002264317357913,0.013162271119654,0.259027123451233,0.092734031379223,-0.038296200335026,0.034749891608953,0.099393650889397,-0.238114580512047,-0.234228208661079,-0.071944855153561,-0.168179109692574) * MODEL10_texOff(vec2(0,-1));
res += mat4(-0.252490878105164,0.180719524621964,0.039898648858070,0.225179031491280,0.175610244274139,-0.091294206678867,0.321769744157791,0.140122428536415,0.138137638568878,-0.044991362839937,0.058547411113977,-0.045614592730999,0.172115221619606,-0.021050605922937,-0.305268496274948,-0.026644133031368) * MODEL10_texOff(vec2(0,0));
res += mat4(0.053961366415024,0.032730758190155,-0.045709442347288,0.100766092538834,0.013667814433575,-0.346233338117599,-0.041282180696726,0.183385133743286,-0.028734041377902,-0.015536135993898,-0.317029982805252,0.133008733391762,0.029443399980664,0.095638297498226,-0.196677699685097,-0.028408301994205) * MODEL10_texOff(vec2(0,1));
res += mat4(0.110791534185410,0.181311845779419,0.021618640050292,-0.170473232865334,0.282284289598465,0.100085593760014,0.074276976287365,0.159139066934586,-0.019351907074451,0.047340098768473,0.034521207213402,0.110130161046982,0.076850585639477,-0.172737196087837,-0.066248528659344,0.229418098926544) * MODEL10_texOff(vec2(1,-1));
res += mat4(-0.126140728592873,0.256487160921097,0.136910334229469,-0.273582965135574,0.269752144813538,0.111968249082565,-0.075601018965244,-0.186815679073334,-0.040223713964224,0.052563838660717,0.027583977207541,-0.002977529773489,0.257296949625015,0.052758131176233,0.071541309356689,0.120867043733597) * MODEL10_texOff(vec2(1,0));
res += mat4(-0.097890131175518,0.037694081664085,-0.111141301691532,0.149505317211151,0.166592597961426,-0.216595485806465,-0.021033959463239,0.176398754119873,0.030518801882863,-0.012185100466013,-0.108956292271614,-0.039073377847672,-0.047341443598270,-0.099432453513145,0.013111719861627,0.134276762604713) * MODEL10_texOff(vec2(1,1));
res += mat4(-0.135155960917473,-0.104601718485355,0.163056924939156,-0.104590788483620,0.101891227066517,-0.124215096235275,0.169591128826141,-0.087643288075924,-0.045544333755970,-0.034678459167480,0.344767808914185,-0.142537474632263,-0.008811369538307,0.044912077486515,0.182094797492027,-0.057648036628962) * MODEL11_texOff(vec2(-1,-1));
res += mat4(-0.013404888100922,0.080827489495277,-0.835510313510895,0.013822766020894,-0.060498487204313,0.011957970447838,-0.146784454584122,-0.046065043658018,0.119813494384289,-0.095554992556572,0.208985880017281,0.104196228086948,0.035248056054115,0.168579101562500,-0.109728544950485,0.092507973313332) * MODEL11_texOff(vec2(-1,0));
res += mat4(-0.023174546658993,0.167422637343407,-0.239077925682068,0.068971045315266,0.020312419161201,0.092978738248348,-0.026956034824252,0.185272231698036,0.047360971570015,-0.198263853788376,0.116877883672714,0.067759074270725,0.127171337604523,0.075760282576084,0.045920502394438,0.132526308298111) * MODEL11_texOff(vec2(-1,1));
res += mat4(-0.389690428972244,0.089393481612206,0.044635459780693,0.033811807632446,-0.029268575832248,0.076938495039940,0.049788199365139,-0.055058609694242,-0.118098251521587,-0.178090795874596,-0.049915350973606,-0.094498977065086,-0.187811434268951,0.350606501102448,0.339832991361618,-0.252785593271255) * MODEL11_texOff(vec2(0,-1));
res += mat4(0.554525792598724,0.065514169633389,0.162969350814819,-0.094652779400349,-0.110177144408226,0.105814382433891,0.012360016815364,0.019923834130168,-0.093181662261486,-0.025387160480022,-0.199707448482513,-0.110959947109222,0.039901059120893,-0.023627519607544,-0.129091203212738,-0.248100727796555) * MODEL11_texOff(vec2(0,0));
res += mat4(0.010752078145742,-0.118441633880138,0.118504643440247,0.120188884437084,0.153362706303596,0.212214976549149,-0.123228877782822,0.265814483165741,0.038814097642899,0.030542131513357,-0.054282356053591,-0.052192665636539,-0.042769663035870,0.019402673467994,-0.035367514938116,-0.097619630396366) * MODEL11_texOff(vec2(0,1));
res += mat4(0.028016222640872,-0.287609905004501,-0.145727440714836,-0.005997523199767,-0.024999227374792,-0.052861101925373,-0.240181818604469,-0.055379539728165,-0.231360867619514,-0.297285765409470,-0.056703373789787,-0.018603272736073,0.104452677071095,-0.147006884217262,-0.005503690801561,0.033504061400890) * MODEL11_texOff(vec2(1,-1));
res += mat4(-0.136669129133224,-0.032417528331280,-0.006513778585941,-0.101876929402351,-0.013515160419047,0.218569114804268,0.088480256497860,-0.013795657083392,-0.233278721570969,0.212594434618950,-0.133996859192848,-0.136061877012253,-0.030280224978924,0.116058796644211,-0.034949529916048,-0.189111098647118) * MODEL11_texOff(vec2(1,0));
res += mat4(0.063563182950020,0.005951554514468,-0.071767158806324,-0.040040962398052,-0.038169559091330,0.100470297038555,-0.018648635596037,0.068760439753532,-0.056455582380295,0.124446801841259,0.005496033467352,-0.010350948199630,-0.052882466465235,-0.017526825889945,-0.072488918900490,-0.008903725072742) * MODEL11_texOff(vec2(1,1));
res += mat4(0.136299058794975,0.085173331201077,0.046243440359831,0.134844705462456,0.078209713101387,0.060520134866238,0.123093865811825,0.099227935075760,0.109745994210243,-0.114655539393425,0.090868636965752,0.040907334536314,0.035910610109568,-0.083341911435127,-0.022331245243549,0.089042305946350) * MODEL12_texOff(vec2(-1,-1));
res += mat4(0.259600698947906,0.028507964685559,-0.066294707357883,0.318929076194763,0.063580147922039,0.015463970601559,0.112927049398422,0.011680962517858,-0.072104491293430,0.037135753780603,0.465396642684937,-0.132355645298958,-0.078534990549088,0.152476787567139,-0.109426461160183,-0.215392932295799) * MODEL12_texOff(vec2(-1,0));
res += mat4(0.042142864316702,0.038656178861856,-0.150180086493492,-0.039610266685486,-0.013937718234956,0.114184424281120,0.214598357677460,-0.118644066154957,-0.011416821740568,0.014389794319868,-0.136098578572273,-0.053159769624472,-0.286164849996567,-0.053491912782192,-0.137553125619888,-0.034632064402103) * MODEL12_texOff(vec2(-1,1));
res += mat4(-0.043834451586008,-0.171312883496284,-0.034972980618477,0.127451509237289,0.136981904506683,-0.065049596130848,0.135650992393494,0.094557590782642,0.089269474148750,0.017040787264705,-0.159054890275002,-0.144745454192162,0.141255080699921,0.158000096678734,0.083512082695961,0.059255901724100) * MODEL12_texOff(vec2(0,-1));
res += mat4(0.216842830181122,-0.218658208847046,-0.059784609824419,0.170910969376564,-0.081790447235107,0.154139056801796,-0.164488390088081,0.150336444377899,0.033728323876858,0.162797555327415,-0.207387849688530,0.122126542031765,-0.023378027603030,0.323549479246140,-0.005267523694783,-0.453449547290802) * MODEL12_texOff(vec2(0,0));
res += mat4(-0.073098555207253,-0.074464298784733,-0.120223917067051,-0.021313805133104,0.097763791680336,0.050318174064159,0.094051778316498,-0.098428055644035,0.081479847431183,0.221305191516876,-0.026463836431503,-0.118301272392273,0.059677906334400,-0.091979645192623,0.153992578387260,0.261376470327377) * MODEL12_texOff(vec2(0,1));
res += mat4(-0.020494585856795,0.043237183243036,0.000658179342281,-0.049273591488600,0.025369366630912,0.253729045391083,-0.042578365653753,-0.016728146001697,-0.067953668534756,-0.067052990198135,-0.125670745968819,0.058185424655676,0.096652723848820,-0.001623644377105,-0.129094645380974,0.051690757274628) * MODEL12_texOff(vec2(1,-1));
res += mat4(-0.184173330664635,-0.005784295033664,0.007720211986452,-0.065538495779037,0.162900060415268,0.086435571312904,0.099932782351971,-0.011503355577588,0.088994912803173,0.101506002247334,0.207274258136749,-0.101161293685436,0.115293353796005,0.030570400878787,-0.042008753865957,0.254608899354935) * MODEL12_texOff(vec2(1,0));
res += mat4(-0.046998288482428,-0.023252384737134,0.036212787032127,-0.121652066707611,0.118005320429802,0.135801732540131,0.105439193546772,-0.135968253016472,-0.045121170580387,0.000716419948731,-0.038400467485189,0.072447590529919,0.012607435695827,-0.140665531158447,-0.007525904104114,0.087564587593079) * MODEL12_texOff(vec2(1,1));
res = max(res, vec4(0.0)) + vec4(0.234365761280060,0.146723702549934,0.104889422655106,0.310954600572586) * min(res, vec4(0.0));
return res;
}

//!HOOK LUMA
//!WHEN OUTPUT.w LUMA.w 2.200 * > OUTPUT.h LUMA.h 2.200 * > *
//!COMPONENTS 4
//!BIND MODEL7
//!BIND MODEL8
//!BIND MODEL9
//!BIND MODEL10
//!BIND MODEL11
//!BIND MODEL12
//!SAVE MODEL3
//!DESC [AiUpscale_HQ_Sharp_3x_LineArt] mapping 5_3

vec4 hook()
{
vec4 res = vec4(-0.117210753262043,-0.277370423078537,-0.092174679040909,-0.084307812154293);
res += mat4(0.031602073460817,-0.035757053643465,-0.058873381465673,-0.032620422542095,0.015994857996702,-0.058456569910049,0.083013482391834,0.013661979697645,-0.048546466976404,0.012262802571058,0.185050085186958,0.055005967617035,-0.122746229171753,0.041639029979706,-0.008114339783788,0.041022889316082) * MODEL7_texOff(vec2(-1,-1));
res += mat4(-0.231383338570595,0.107917316257954,0.088595122098923,0.014229542575777,-0.191860601305962,0.229094251990318,-0.174961358308792,-0.011632455512881,0.022710708901286,-0.061769969761372,0.035402331501245,-0.017374768853188,0.070936553180218,-0.127338677644730,0.014761981554329,0.008632705546916) * MODEL7_texOff(vec2(-1,0));
res += mat4(-0.031730312854052,0.045242909342051,-0.066405117511749,0.017794501036406,0.153188943862915,-0.052018206566572,0.275214254856110,-0.138106271624565,-0.025031939148903,0.058493506163359,0.256290256977081,-0.031062848865986,0.017634594812989,0.008702346123755,-0.226233318448067,-0.094635576009750) * MODEL7_texOff(vec2(-1,1));
res += mat4(0.100936487317085,-0.006497584749013,0.171410873532295,0.053914703428745,-0.003881105920300,-0.205615893006325,-0.068725883960724,0.029156902804971,0.045216213911772,-0.049564778804779,-0.157067373394966,0.107783466577530,-0.040688026696444,-0.187053933739662,-0.183801755309105,0.099821045994759) * MODEL7_texOff(vec2(0,-1));
res += mat4(-0.079111441969872,0.050906587392092,-0.182877212762833,0.079228229820728,0.198508158326149,0.208028405904770,-0.246172472834587,-0.171027854084969,0.037758391350508,0.003427690360695,0.017651118338108,-0.022596681490541,-0.238165959715843,-0.207493454217911,-0.139341741800308,-0.027101490646601) * MODEL7_texOff(vec2(0,0));
res += mat4(-0.002489869017154,-0.042113229632378,0.039284124970436,-0.164865583181381,-0.171686112880707,-0.098949164152145,-0.054302029311657,-0.140693768858910,-0.218000680208206,-0.071173176169395,-0.029321158304811,0.010279700160027,-0.079525113105774,0.104824312031269,-0.298341453075409,-0.072471454739571) * MODEL7_texOff(vec2(0,1));
res += mat4(-0.181950181722641,0.060204476118088,-0.044809762388468,0.012944607995450,0.134299278259277,0.107547417283058,0.047557964920998,-0.037257261574268,-0.155325323343277,-0.047365002334118,0.047573804855347,0.088838562369347,0.121700704097748,-0.049807209521532,-0.064090780913830,0.105904646217823) * MODEL7_texOff(vec2(1,-1));
res += mat4(-0.301932513713837,0.036860786378384,-0.569416403770447,-0.112612940371037,-0.218282595276833,-0.046398814767599,0.155586689710617,0.203506737947464,-0.194705948233604,-0.229038193821907,-0.321230798959732,0.017584698274732,0.285824000835419,-0.032672863453627,-0.067410476505756,-0.136929899454117) * MODEL7_texOff(vec2(1,0));
res += mat4(-0.058960109949112,-0.104801431298256,0.369005233049393,0.154864490032196,0.077444486320019,-0.002402308629826,-0.022554861381650,0.020383747294545,-0.084972038865089,0.070514596998692,-0.210211932659149,0.019030045717955,0.004079938866198,-0.074093706905842,0.161566540598869,-0.046874620020390) * MODEL7_texOff(vec2(1,1));
res += mat4(0.053792137652636,-0.062735266983509,0.475925832986832,0.039411477744579,0.007968418300152,-0.016787711530924,-0.019736258313060,-0.041976016014814,0.067304849624634,0.027645396068692,0.135024830698967,-0.087847054004669,0.052380699664354,0.082337357103825,0.022054618224502,-0.032083183526993) * MODEL8_texOff(vec2(-1,-1));
res += mat4(-0.125531733036041,0.058641094714403,0.106993205845356,-0.029555922374129,-0.092516258358955,0.067114248871803,-0.217727988958359,-0.023568615317345,-0.056413892656565,-0.070683240890503,-0.028024068102241,-0.048364061862230,-0.001430476899259,0.063841320574284,-0.015899349004030,0.049012340605259) * MODEL8_texOff(vec2(-1,0));
res += mat4(-0.014773314818740,0.110901579260826,-0.213367283344269,-0.062130562961102,-0.054983731359243,0.067684829235077,-0.047637503594160,-0.036829490214586,-0.052939459681511,-0.038965195417404,-0.133144512772560,-0.118881389498711,-0.047902837395668,-0.091488674283028,-0.045513700693846,-0.079371519386768) * MODEL8_texOff(vec2(-1,1));
res += mat4(-0.121504627168179,0.022384785115719,-0.158394053578377,0.019068913534284,0.031477160751820,-0.036185238510370,0.046838611364365,0.082287311553955,-0.005565234459937,-0.060231238603592,0.033901363611221,0.021642560139298,0.035963166505098,0.134271934628487,0.194785445928574,-0.107850559055805) * MODEL8_texOff(vec2(0,-1));
res += mat4(0.129130184650421,0.096394062042236,0.319780260324478,-0.051417078822851,0.102890692651272,-0.143670886754990,-0.014835847541690,0.030737301334739,0.468354046344757,0.399574667215347,-0.187805846333504,0.571386694908142,0.067413605749607,-0.385374277830124,-0.041944727301598,-0.308188438415527) * MODEL8_texOff(vec2(0,0));
res += mat4(-0.076939851045609,-0.081670403480530,0.172380387783051,-0.072951048612595,0.026265798136592,-0.122070066630840,0.027536435052752,-0.272885203361511,-0.123616218566895,-0.156606435775757,0.012383710592985,-0.178758025169373,0.032429583370686,0.016390640288591,-0.048321824520826,0.077417798340321) * MODEL8_texOff(vec2(0,1));
res += mat4(-0.111239783465862,-0.111812449991703,-0.032893445342779,0.053580544888973,-0.128896668553352,-0.046847477555275,-0.195596739649773,0.062085743993521,-0.179514944553375,-0.129704862833023,0.087226860225201,-0.174968376755714,0.062751442193985,-0.052193656563759,0.099676944315434,0.111977346241474) * MODEL8_texOff(vec2(1,-1));
res += mat4(0.076725713908672,0.022702369838953,0.232887804508209,-0.144575327634811,-0.075026370584965,-0.076148517429829,0.156177699565887,-0.272632271051407,-0.105758048593998,-0.105102069675922,0.070455744862556,0.277719855308533,-0.264259725809097,0.018379427492619,0.067839041352272,-0.136954694986343) * MODEL8_texOff(vec2(1,0));
res += mat4(-0.048317696899176,0.036334756761789,-0.131254792213440,-0.059533059597015,-0.008631119504571,-0.054746933281422,-0.141250833868980,-0.091438382863998,0.069634929299355,-0.061660889536142,0.086525723338127,-0.044085286557674,-0.164921924471855,0.071577027440071,-0.292977362871170,-0.021901965141296) * MODEL8_texOff(vec2(1,1));
res += mat4(0.034268226474524,-0.005818812642246,0.081646881997585,0.020594477653503,0.104547634720802,0.053861346095800,0.217695042490959,-0.113668806850910,0.030274575576186,0.136987954378128,-0.161009058356285,-0.004738646559417,0.062294978648424,-0.014083016663790,0.081519789993763,-0.166628330945969) * MODEL9_texOff(vec2(-1,-1));
res += mat4(0.244984582066536,-0.029761200770736,0.190515130758286,0.196397483348846,-0.108738467097282,0.058668982237577,-0.032514441758394,-0.067619867622852,0.015199453569949,0.029433930292726,-0.150372877717018,0.018825208768249,-0.131261423230171,0.018029337748885,-0.172437921166420,-0.094056487083435) * MODEL9_texOff(vec2(-1,0));
res += mat4(-0.054558258503675,-0.048001408576965,0.011202250607312,-0.108559980988503,0.132384017109871,-0.081570640206337,0.316601097583771,0.000173600754351,-0.090388961136341,0.153410956263542,-0.360001713037491,0.029536638408899,0.055053040385246,-0.030679572373629,0.224357873201370,-0.013723832555115) * MODEL9_texOff(vec2(-1,1));
res += mat4(0.000878695689607,-0.041096001863480,-0.317630559206009,0.072422452270985,0.084903843700886,-0.022495251148939,-0.147727474570274,-0.048032812774181,0.036858670413494,0.160103142261505,0.201268911361694,-0.046626415103674,-0.067749619483948,-0.220502972602844,-0.216147616505623,0.191812142729759) * MODEL9_texOff(vec2(0,-1));
res += mat4(-0.093844756484032,0.129130795598030,0.276498585939407,0.051796197891235,-0.081916034221649,-0.077993661165237,0.104762122035027,0.035516150295734,-0.088158831000328,-0.045569416135550,-0.189631059765816,0.185757800936699,0.146169096231461,-0.175902694463730,0.266952574253082,-0.100806690752506) * MODEL9_texOff(vec2(0,0));
res += mat4(0.093607679009438,0.003313934896141,-0.034488670527935,0.025805544108152,0.001747458823957,-0.014355058781803,-0.180797591805458,0.142863959074020,0.082218848168850,0.191922977566719,-0.057587046176195,0.101543553173542,-0.197232872247696,-0.061752099543810,-0.043370123952627,0.009458376094699) * MODEL9_texOff(vec2(0,1));
res += mat4(-0.071673013269901,-0.190126135945320,0.173206597566605,-0.195181339979172,0.059546299278736,0.003165888134390,0.234596014022827,-0.011638651601970,0.091959923505783,0.030194209888577,0.096664749085903,-0.064495727419853,-0.024694764986634,0.069288663566113,0.006486418657005,0.082657322287560) * MODEL9_texOff(vec2(1,-1));
res += mat4(-0.058456420898438,-0.328655213117599,-0.008598691783845,-0.089904077351093,-0.212857931852341,-0.039143178611994,0.258018434047699,0.041108686476946,0.192337870597839,0.074423462152481,-0.533706963062286,0.052783101797104,0.073806270956993,0.068098023533821,0.159351646900177,0.002552835736424) * MODEL9_texOff(vec2(1,0));
res += mat4(-0.049723953008652,-0.018598169088364,0.082772724330425,0.056882061064243,0.068991422653198,0.026575343683362,-0.194246500730515,-0.025977650657296,-0.049023076891899,-0.017308887094259,0.181401744484901,0.033950153738260,-0.044251378625631,0.115995489060879,-0.060745902359486,0.070702672004700) * MODEL9_texOff(vec2(1,1));
res += mat4(-0.113104075193405,0.063338436186314,-0.022444127127528,0.012447726912796,0.007202832959592,0.109078094363213,0.054604031145573,0.082719378173351,-0.088696859776974,-0.019828895106912,0.299765437841415,-0.088606432080269,0.071271076798439,-0.086330629885197,0.083589322865009,-0.068146318197250) * MODEL10_texOff(vec2(-1,-1));
res += mat4(0.013802368193865,-0.035647582262754,-0.083214737474918,0.011069444939494,-0.197006657719612,0.288991183042526,0.060797926038504,0.082852981984615,0.150160208344460,-0.055845245718956,0.141080066561699,-0.115437291562557,0.067013800144196,-0.076700881123543,-0.041961263865232,0.003376418957487) * MODEL10_texOff(vec2(-1,0));
res += mat4(0.024059206247330,0.142441615462303,-0.009628201834857,-0.003179863793775,-0.017278391867876,0.007811862044036,0.230489715933800,0.130705073475838,-0.049685966223478,0.062864422798157,0.019463790580630,-0.027700418606400,0.120644107460976,-0.038250625133514,0.080919824540615,-0.050112236291170) * MODEL10_texOff(vec2(-1,1));
res += mat4(0.102242767810822,0.173157855868340,-0.117346815764904,0.191908448934555,0.094971403479576,0.205983072519302,0.040635574609041,0.018718805164099,-0.008029564283788,-0.055974956601858,-0.135182157158852,0.152881413698196,0.080451741814613,0.044174212962389,0.059744995087385,-0.057604491710663) * MODEL10_texOff(vec2(0,-1));
res += mat4(0.493304222822189,0.137538343667984,0.107001632452011,-0.035226594656706,0.151081025600433,0.084640093147755,-0.127552106976509,0.055170882493258,-0.097575657069683,0.032846938818693,0.228221803903580,-0.059102199971676,-0.149825990200043,0.149551123380661,-0.180921271443367,0.137406140565872) * MODEL10_texOff(vec2(0,0));
res += mat4(0.003315629903227,0.105302140116692,0.114300675690174,-0.260954380035400,0.212043553590775,0.241687595844269,-0.145838871598244,0.012271628715098,-0.054133318364620,0.028814135119319,-0.267942667007446,-0.065495140850544,0.068245343863964,-0.082336172461510,-0.083020083606243,0.045909479260445) * MODEL10_texOff(vec2(0,1));
res += mat4(-0.056571342051029,-0.082220017910004,-0.098258361220360,0.165779232978821,0.155187055468559,0.195256531238556,0.106929786503315,0.087019197642803,-0.092894218862057,-0.069732286036015,0.030927797779441,0.034444611519575,0.089429728686810,-0.006715934723616,0.352385997772217,-0.074913658201694) * MODEL10_texOff(vec2(1,-1));
res += mat4(-0.393891543149948,-0.090582333505154,0.111621670424938,-0.108797505497932,0.253530859947205,0.307674974203110,-0.170063450932503,0.059751197695732,0.069075137376785,-0.079850912094116,0.044630978256464,0.099113382399082,-0.074523299932480,0.016729600727558,-0.450801551342010,0.024069618433714) * MODEL10_texOff(vec2(1,0));
res += mat4(0.058742586523294,0.062419544905424,-0.021678624674678,0.094218805432320,0.159359097480774,0.134863406419754,-0.036666147410870,0.056512273848057,0.064189679920673,0.025022266432643,-0.175805792212486,-0.030350290238857,0.015532080084085,0.037074409425259,-0.267969518899918,-0.009847023524344) * MODEL10_texOff(vec2(1,1));
res += mat4(0.097727663815022,-0.081876546144485,0.090490676462650,-0.013541551306844,-0.017936918884516,-0.048969894647598,-0.202282413840294,0.039613213390112,-0.040919277817011,-0.134627014398575,-0.256173312664032,-0.031026681885123,0.053358450531960,-0.001800052821636,0.109454125165939,-0.081348069012165) * MODEL11_texOff(vec2(-1,-1));
res += mat4(-0.053641870617867,-0.043108694255352,-0.350930750370026,0.014728303067386,0.054622769355774,-0.063715934753418,0.224992319941521,-0.182639345526695,-0.073770619928837,0.071694917976856,-0.267419785261154,-0.149262532591820,-0.192568197846413,-0.106872126460075,0.179597243666649,0.008357683196664) * MODEL11_texOff(vec2(-1,0));
res += mat4(-0.069793581962585,0.123820580542088,-0.227044999599457,0.029731430113316,-0.085133656859398,0.014570671133697,0.328876376152039,0.154171973466873,0.004165909718722,-0.012001989409328,0.227427482604980,0.053568609058857,0.085832051932812,-0.009756223298609,0.077770419418812,0.116025798022747) * MODEL11_texOff(vec2(-1,1));
res += mat4(0.013989383354783,-0.030397670343518,0.303265362977982,0.035629961639643,-0.038589064031839,0.072461813688278,0.017232820391655,-0.066381700336933,-0.051519066095352,-0.147295996546745,-0.154825508594513,-0.027211409062147,0.029072593897581,-0.288124978542328,0.201397851109505,-0.324405550956726) * MODEL11_texOff(vec2(0,-1));
res += mat4(0.158651158213615,-0.089751899242401,-0.243969798088074,0.407508373260498,-0.096289567649364,0.082237944006920,-0.072486184537411,0.093936383724213,0.215658083558083,0.041102409362793,0.041637487709522,0.150734439492226,0.012932534329593,-0.026882354170084,0.019613958895206,0.043835148215294) * MODEL11_texOff(vec2(0,0));
res += mat4(0.104558952152729,0.082636840641499,0.137561216950417,0.110155418515205,-0.054910454899073,0.112271077930927,-0.100382298231125,0.031454876065254,-0.063429698348045,0.106425352394581,-0.092044822871685,0.046565618366003,0.070453912019730,0.121747769415379,0.076787978410721,-0.089988246560097) * MODEL11_texOff(vec2(0,1));
res += mat4(0.020515952259302,0.070244841277599,0.125658243894577,-0.021446937695146,0.045481830835342,0.011007704772055,0.019191192463040,0.130833014845848,-0.124983377754688,-0.129787877202034,0.118397511541843,0.160449683666229,0.177197232842445,-0.024466905742884,-0.132262632250786,-0.040882907807827) * MODEL11_texOff(vec2(1,-1));
res += mat4(-0.059074256569147,0.034493822604418,-0.041372787207365,0.107764080166817,-0.101668387651443,-0.018684061244130,-0.081443391740322,-0.054863665252924,-0.286919265985489,-0.174046859145164,0.018083613365889,-0.018099714070559,0.125969067215919,0.032954007387161,-0.078959137201309,-0.008783791214228) * MODEL11_texOff(vec2(1,0));
res += mat4(-0.056326955556870,0.123921543359756,0.059247322380543,-0.047371391206980,-0.073981449007988,0.083694063127041,-0.045977696776390,0.072443664073944,-0.075209826231003,-0.020672539249063,-0.457626998424530,-0.127052620053291,0.005380153656006,0.105599522590637,-0.115327931940556,0.081406496465206) * MODEL11_texOff(vec2(1,1));
res += mat4(0.025567332282662,0.255917370319366,0.184884771704674,0.171488016843796,-0.105083599686623,0.037972021847963,-0.000328490714310,-0.041277494281530,-0.017702497541904,0.025450082495809,-0.008627213537693,0.055090967565775,-0.122886076569557,-0.151632741093636,0.166434034705162,-0.115163967013359) * MODEL12_texOff(vec2(-1,-1));
res += mat4(0.103106774389744,0.030458074063063,0.106416530907154,0.093895345926285,0.053936216980219,0.061059240251780,-0.182673379778862,-0.017150687053800,0.132874801754951,0.049835387617350,-0.007359925191849,-0.098125301301479,-0.146546244621277,-0.370844215154648,-0.176753684878349,-0.210836797952652) * MODEL12_texOff(vec2(-1,0));
res += mat4(-0.057846616953611,0.038644962012768,0.032921299338341,-0.092772647738457,0.056340910494328,-0.139674261212349,0.112891249358654,-0.058397054672241,-0.018984159454703,0.063853345811367,-0.024982182309031,-0.058834150433540,0.000197268862394,0.330163717269897,0.045451439917088,0.205558925867081) * MODEL12_texOff(vec2(-1,1));
res += mat4(0.229589715600014,0.244293555617332,0.084868408739567,0.016312399879098,0.049271717667580,-0.012965325266123,-0.106038972735405,-0.010814442299306,0.054895322769880,0.014594931155443,-0.074557460844517,0.038656655699015,-0.060190409421921,-0.104347571730614,0.305468082427979,-0.153932780027390) * MODEL12_texOff(vec2(0,-1));
res += mat4(0.122361272573471,-0.023327359929681,-0.032561209052801,-0.095641516149044,-0.020199174061418,0.007724920753390,0.129020735621452,-0.081577338278294,0.029989354312420,0.030094102025032,-0.247221231460571,-0.033970180898905,-0.415969938039780,0.013716073706746,-0.128902494907379,-0.210096865892410) * MODEL12_texOff(vec2(0,0));
res += mat4(0.134362503886223,0.168026030063629,-0.174413055181503,0.108832091093063,-0.060679968446493,-0.104042202234268,0.403491079807281,-0.100951254367828,-0.055256482213736,0.140474557876587,-0.166491568088531,0.079761974513531,0.141655027866364,0.313812047243118,-0.114165417850018,0.555855453014374) * MODEL12_texOff(vec2(0,1));
res += mat4(-0.007828471250832,-0.049810133874416,-0.020345782861114,-0.026463489979506,-0.103178068995476,0.177294656634331,0.144010305404663,0.075718574225903,0.030173977836967,-0.106228783726692,-0.139851540327072,0.081521578133106,0.135027348995209,0.086364269256592,0.158281415700912,-0.156272113323212) * MODEL12_texOff(vec2(1,-1));
res += mat4(0.029250051826239,0.079609267413616,-0.188656955957413,-0.011876230128109,-0.071863479912281,0.086050197482109,0.115652017295361,0.155143707990646,0.098136954009533,0.042303714901209,-0.114974088966846,0.041991464793682,-0.086762771010399,-0.119519457221031,-0.081220418214798,-0.209682568907738) * MODEL12_texOff(vec2(1,0));
res += mat4(-0.093676805496216,-0.098391771316528,0.079016640782356,-0.171384379267693,0.077731058001518,0.142098277807236,-0.040191467851400,0.057171545922756,-0.141843751072884,0.062994316220284,-0.067010812461376,0.055924635380507,0.015090421773493,0.026782859116793,-0.079096332192421,0.198292851448059) * MODEL12_texOff(vec2(1,1));
res = max(res, vec4(0.0)) + vec4(0.453358918428421,0.295676320791245,0.051081057637930,0.352876722812653) * min(res, vec4(0.0));
return res;
}

//!HOOK LUMA
//!WHEN OUTPUT.w LUMA.w 2.200 * > OUTPUT.h LUMA.h 2.200 * > *
//!COMPONENTS 4
//!BIND MODEL7
//!BIND MODEL8
//!BIND MODEL9
//!BIND MODEL10
//!BIND MODEL11
//!BIND MODEL12
//!SAVE MODEL4
//!DESC [AiUpscale_HQ_Sharp_3x_LineArt] mapping 5_4

vec4 hook()
{
vec4 res = vec4(0.109356060624123,-0.208755865693092,-0.158927500247955,0.001155686797574);
res += mat4(-0.282812893390656,0.066824905574322,0.326983630657196,-0.088053785264492,-0.063417755067348,0.047937907278538,-0.044139847159386,-0.000863938708790,0.184249684214592,0.142407283186913,-0.039129886776209,0.038243591785431,-0.100057318806648,0.032655157148838,-0.039007887244225,0.112571924924850) * MODEL7_texOff(vec2(-1,-1));
res += mat4(0.080286793410778,-0.163557663559914,0.267951428890228,-0.036526653915644,-0.140030816197395,-0.182833030819893,0.383381485939026,0.057393390685320,0.188219487667084,-0.024116270244122,-0.098006181418896,0.055425338447094,-0.051088690757751,-0.100599110126495,0.166265055537224,0.082981012761593) * MODEL7_texOff(vec2(-1,0));
res += mat4(0.017694611102343,0.080343335866928,0.160043060779572,0.033848360180855,0.085827425122261,0.277150988578796,-0.144076555967331,-0.030348043888807,-0.097791291773319,0.009880089201033,0.036639362573624,0.039784912019968,-0.085483379662037,-0.203636273741722,0.103384196758270,0.131497904658318) * MODEL7_texOff(vec2(-1,1));
res += mat4(-0.005919212475419,-0.084408022463322,-0.008635217323899,-0.050761442631483,0.086456343531609,0.150256365537643,-0.006372982636094,-0.062036775052547,-0.045246843248606,-0.131186142563820,-0.143993631005287,0.000758553156629,-0.042107462882996,0.120058685541153,-0.153717845678329,-0.083052158355713) * MODEL7_texOff(vec2(0,-1));
res += mat4(0.389379620552063,0.016946267336607,0.010272623971105,-0.185223251581192,-0.148878186941147,-0.104171097278595,0.079459026455879,-0.180858761072159,0.111191146075726,-0.023721488192677,0.015832483768463,-0.145664617419243,0.164027184247971,0.079895928502083,-0.052736729383469,-0.141518652439117) * MODEL7_texOff(vec2(0,0));
res += mat4(-0.250849395990372,0.137963622808456,-0.170286774635315,-0.004482616670430,0.016271874308586,0.335076183080673,0.185049340128899,-0.217659428715706,0.107774280011654,0.016855156049132,-0.172263056039810,-0.017780356109142,0.064802132546902,-0.190439447760582,-0.109821557998657,0.085179306566715) * MODEL7_texOff(vec2(0,1));
res += mat4(-0.080977447330952,-0.164185687899590,0.100683808326721,-0.005301882978529,0.085023641586304,-0.086480878293514,0.037925567477942,0.017967123538256,0.048713196069002,-0.112420864403248,0.011328739114106,-0.018178904429078,-0.176318481564522,0.061717126518488,-0.170628309249878,-0.016409296542406) * MODEL7_texOff(vec2(1,-1));
res += mat4(0.481886804103851,0.043065153062344,-0.034468099474907,-0.078588977456093,-0.172445878386497,-0.002803937764838,0.166319221258163,0.032822392880917,0.511093258857727,-0.012238176539540,-0.011762456037104,-0.004268636461347,-0.295905470848083,0.047939363867044,-0.202809378504753,0.018413700163364) * MODEL7_texOff(vec2(1,0));
res += mat4(-0.243603169918060,-0.079657986760139,-0.139952346682549,-0.074660174548626,0.125759735703468,-0.022902010008693,0.130702644586563,-0.053059250116348,-0.182932958006859,-0.094956658780575,0.020797938108444,0.080534540116787,-0.355869412422180,-0.038577344268560,-0.156938999891281,0.164002329111099) * MODEL7_texOff(vec2(1,1));
res += mat4(0.068683288991451,-0.073373936116695,0.200088575482368,0.050048351287842,-0.023915177211165,-0.073895588517189,-0.067205473780632,-0.044818591326475,0.110773868858814,0.017987251281738,0.070148341357708,0.030862482264638,-0.081224970519543,0.024224888533354,0.053277976810932,-0.048872027546167) * MODEL8_texOff(vec2(-1,-1));
res += mat4(-0.171793326735497,-0.155475512146950,0.049992281943560,-0.099872954189777,-0.080198049545288,0.036984845995903,-0.008799199946225,-0.101212695240974,0.033657699823380,0.141719058156013,0.239511415362358,-0.260730266571045,-0.025674544274807,0.172629162669182,-0.035763405263424,-0.031968206167221) * MODEL8_texOff(vec2(-1,0));
res += mat4(0.099108934402466,0.084339588880539,0.038956411182880,0.001416560844518,-0.010806355625391,0.114524096250534,-0.046971399337053,0.014823931269348,-0.066333644092083,0.172650545835495,-0.003346252255142,-0.112784653902054,0.013565773144364,0.190666556358337,0.059628155082464,-0.046117942780256) * MODEL8_texOff(vec2(-1,1));
res += mat4(0.009592581540346,-0.221162259578705,-0.054278545081615,-0.138632833957672,-0.101906441152096,0.036343943327665,-0.240619599819183,0.087604708969593,0.270566254854202,0.031380608677864,-0.015829781070352,-0.281634449958801,-0.004770055413246,0.031670309603214,0.003309404477477,0.029758865013719) * MODEL8_texOff(vec2(0,-1));
res += mat4(-0.258963286876678,-0.222204595804214,0.087346173822880,0.007460853084922,-0.243102893233299,0.015892695635557,0.082255303859711,-0.099721617996693,-0.021253736689687,-0.452170640230179,-0.245269030332565,0.698061466217041,-0.328329473733902,0.191004887223244,-0.519704401493073,0.404595553874969) * MODEL8_texOff(vec2(0,0));
res += mat4(-0.011441784910858,0.142542794346809,0.100352726876736,0.017582710832357,-0.082456573843956,-0.012509464286268,-0.014410761184990,-0.012895525433123,-0.118884921073914,0.274443686008453,-0.015229266136885,-0.062987826764584,0.047260299324989,0.284124076366425,0.145673200488091,-0.109284974634647) * MODEL8_texOff(vec2(0,1));
res += mat4(0.031850524246693,-0.100374005734921,-0.002540336223319,0.045082692056894,-0.152956679463387,-0.016308102756739,-0.001885979203507,0.043485149741173,-0.083749696612358,0.100790977478027,0.164931267499924,-0.164893358945847,-0.017745912075043,-0.012486930936575,-0.189762070775032,-0.095053844153881) * MODEL8_texOff(vec2(1,-1));
res += mat4(-0.135205715894699,0.054293744266033,-0.028873419389129,-0.050673969089985,-0.133459433913231,0.122021630406380,-0.008333280682564,-0.053197126835585,-0.153238981962204,-0.167537018656731,-0.099205508828163,-0.045301031321287,-0.167889133095741,-0.081229224801064,-0.083853587508202,-0.190727993845940) * MODEL8_texOff(vec2(1,0));
res += mat4(0.280992239713669,0.198971733450890,0.011252989992499,-0.075997941195965,-0.070485949516296,-0.005632845219225,-0.005543296225369,0.024490253999829,-0.041936267167330,0.015435831621289,-0.092521838843822,0.062051415443420,-0.005285191815346,-0.118506312370300,0.003314433852211,-0.028896536678076) * MODEL8_texOff(vec2(1,1));
res += mat4(0.155827522277832,-0.112196363508701,0.054096326231956,-0.079111814498901,0.353411883115768,-0.098288126289845,0.118750654160976,-0.064039714634418,-0.396803706884384,0.047189176082611,-0.023828225210309,0.032229244709015,-0.369290322065353,0.015501019544899,-0.008370175957680,0.027210675179958) * MODEL9_texOff(vec2(-1,-1));
res += mat4(-0.043364197015762,-0.088246621191502,0.023268366232514,0.332615226507187,-0.132965818047523,0.020825944840908,0.070671856403351,0.014822497032583,-0.237848445773125,-0.131278470158577,-0.133383587002754,-0.086259141564369,-0.207382321357727,-0.016820440068841,0.260691016912460,-0.105159565806389) * MODEL9_texOff(vec2(-1,0));
res += mat4(-0.033895898610353,0.132228732109070,0.152852624654770,-0.018201095983386,0.126593813300133,-0.166443854570389,0.049571890383959,-0.002488966332749,-0.364059835672379,-0.126885890960693,0.052603226155043,-0.062357928603888,0.139051347970963,0.057213012129068,-0.084572315216064,-0.014165753498673) * MODEL9_texOff(vec2(-1,1));
res += mat4(0.353217989206314,-0.110460601747036,-0.235352352261543,-0.146552547812462,-0.032119534909725,0.145328342914581,-0.076093591749668,-0.007044877856970,-0.246406957507133,0.071898780763149,-0.035768590867519,-0.171003311872482,-0.264665752649307,-0.024551808834076,-0.101267531514168,0.262554615736008) * MODEL9_texOff(vec2(0,-1));
res += mat4(0.245018139481544,0.015568649396300,0.116765610873699,-0.089632838964462,-0.318513303995132,0.083992399275303,-0.009346282109618,0.074077434837818,0.304202377796173,0.021101946011186,-0.040354002267122,0.190150842070580,0.200977265834808,-0.030042614787817,-0.123132012784481,0.137194186449051) * MODEL9_texOff(vec2(0,0));
res += mat4(-0.018413867801428,0.048010487109423,0.000715364876669,-0.045519914478064,0.054175551980734,-0.103031709790230,-0.040418125689030,-0.022499980404973,-0.162417426705360,-0.160145521163940,-0.084325157105923,0.180629849433899,0.152997776865959,0.228453338146210,0.132173314690590,-0.175406590104103) * MODEL9_texOff(vec2(0,1));
res += mat4(-0.010014241561294,0.064828500151634,0.117673136293888,0.013423137366772,0.027145696803927,-0.016247587278485,-0.034648261964321,-0.209012374281883,-0.412134438753128,-0.031298391520977,-0.086025439202785,0.022821053862572,-0.044783938676119,-0.031405225396156,0.118655130267143,-0.036905083805323) * MODEL9_texOff(vec2(1,-1));
res += mat4(-0.188045129179955,0.022924950346351,0.042996898293495,-0.144548073410988,0.233842879533768,-0.213182106614113,0.095889627933502,0.081341229379177,-0.196046903729439,0.024077752605081,-0.171225756406784,0.068088330328465,0.321827322244644,-0.110797822475433,-0.083700858056545,0.074875906109810) * MODEL9_texOff(vec2(1,0));
res += mat4(0.024048959836364,0.018840728327632,0.066363878548145,0.031724337488413,0.191443830728531,0.009856574237347,0.017524223774672,-0.002213350962847,-0.222404628992081,-0.060888186097145,-0.083718828856945,0.049441415816545,0.191517427563667,-0.149282738566399,0.078444413840771,-0.025319620966911) * MODEL9_texOff(vec2(1,1));
res += mat4(0.059152700006962,0.063578501343727,-0.153166636824608,-0.073413841426373,-0.086433149874210,0.083952188491821,0.198974415659904,-0.100054822862148,-0.005960898473859,-0.064375914633274,-0.180726185441017,0.192310079932213,0.122126355767250,-0.018601467832923,-0.209429368376732,0.028678020462394) * MODEL10_texOff(vec2(-1,-1));
res += mat4(0.345298200845718,-0.109067633748055,-0.206897661089897,-0.025966381654143,-0.051396563649178,0.039449252188206,0.276234388351440,-0.103272631764412,0.048516664654016,0.092471279203892,0.236964747309685,-0.019114147871733,-0.006152708083391,0.197646409273148,-0.038838125765324,0.043441280722618) * MODEL10_texOff(vec2(-1,0));
res += mat4(0.100135751068592,-0.050240635871887,-0.031444948166609,0.002667712979019,0.201645836234093,0.225782230496407,0.212962657213211,-0.097975187003613,-0.198598548769951,0.078977115452290,0.046209149062634,-0.110213525593281,-0.123634718358517,0.016524463891983,-0.047306481748819,0.027226693928242) * MODEL10_texOff(vec2(-1,1));
res += mat4(0.108330868184566,-0.100842580199242,-0.349499195814133,0.004237541463226,-0.102521225810051,0.089258998632431,0.242451265454292,-0.037786893546581,-0.240478783845901,-0.124300152063370,-0.045040730386972,0.103816606104374,-0.157718420028687,0.123455420136452,-0.041319649666548,-0.059150863438845) * MODEL10_texOff(vec2(0,-1));
res += mat4(-0.170849353075027,-0.218602702021599,-0.274415493011475,0.172936290502548,-0.017824318259954,-0.166390061378479,0.098112709820271,0.149051055312157,-0.465686589479446,-0.012180152349174,0.104275882244110,0.003405794501305,-0.324583828449249,-0.147108733654022,0.148844644427299,-0.023787733167410) * MODEL10_texOff(vec2(0,0));
res += mat4(-0.266619831323624,0.137206450104713,-0.030968723818660,0.093050025403500,0.152368947863579,0.055897247046232,0.212382838129997,-0.022694027051330,0.015011671930552,-0.139034599065781,0.047288503497839,-0.051798049360514,0.058172672986984,-0.045624002814293,-0.073665894567966,-0.017580322921276) * MODEL10_texOff(vec2(0,1));
res += mat4(-0.086834855377674,0.005063448101282,-0.081973612308502,0.062815032899380,0.133193880319595,0.006335846614093,0.019459014758468,-0.003550072899088,-0.090369544923306,-0.063782751560211,0.032619960606098,0.047605916857719,-0.087989665567875,0.040844306349754,0.301931440830231,-0.018065715208650) * MODEL10_texOff(vec2(1,-1));
res += mat4(0.032649792730808,0.048288531601429,0.106478504836559,-0.301305800676346,-0.121317632496357,-0.017856251448393,0.013152896426618,0.096443913877010,0.188128978013992,-0.153439387679100,0.025081017985940,-0.026871753856540,-0.366604179143906,0.033580414950848,0.055686492472887,-0.029840651899576) * MODEL10_texOff(vec2(1,0));
res += mat4(0.142598301172256,-0.199085846543312,0.049427919089794,0.068734779953957,0.178914621472359,0.120921313762665,0.116800002753735,-0.041950713843107,-0.092501759529114,-0.001415893668309,-0.103219121694565,0.058007404208183,0.250615030527115,0.106835909187794,-0.006696134805679,-0.032001286745071) * MODEL10_texOff(vec2(1,1));
res += mat4(-0.251242130994797,0.058550383895636,-0.084864467382431,-0.006696312688291,-0.371373921632767,-0.008441650308669,-0.388467311859131,0.001981755252928,0.050084464251995,-0.099724583327770,-0.107119075953960,-0.007374852430075,0.208390235900879,-0.004112965427339,0.046410217881203,-0.155396983027458) * MODEL11_texOff(vec2(-1,-1));
res += mat4(-0.019382216036320,-0.161603391170502,0.164751738309860,0.033980138599873,-0.102324508130550,-0.133282467722893,0.001567875151522,-0.037666041404009,-0.184733361005783,0.028477195650339,-0.161591574549675,-0.012328146025538,0.021980606019497,0.042167659848928,0.038683187216520,-0.113228127360344) * MODEL11_texOff(vec2(-1,0));
res += mat4(-0.289358764886856,-0.194308593869209,0.176368355751038,0.084359996020794,0.073203116655350,0.119793422520161,-0.024240344762802,-0.217859506607056,0.071235992014408,0.137659490108490,-0.018796050921082,-0.072747059166431,0.072553969919682,-0.055116031318903,-0.092538952827454,-0.027258345857263) * MODEL11_texOff(vec2(-1,1));
res += mat4(0.044736936688423,-0.060314554721117,0.046271204948425,-0.305549860000610,0.036014217883348,0.035963814705610,-0.184155225753784,-0.049709588289261,-0.102530837059021,0.038791939616203,-0.453985422849655,0.046858839690685,-0.322751075029373,0.195661336183548,-0.062741428613663,-0.223081856966019) * MODEL11_texOff(vec2(0,-1));
res += mat4(-0.391371726989746,-0.376723885536194,-0.439925789833069,-0.023003360256553,0.237134009599686,-0.029202131554484,0.221418872475624,0.213094040751457,0.048543587327003,-0.270666658878326,-0.426597923040390,-0.104350402951241,-0.366622567176819,-0.205934032797813,-0.059559535235167,-0.087522126734257) * MODEL11_texOff(vec2(0,0));
res += mat4(-0.582047462463379,-0.045063920319080,0.041967190802097,0.096423678100109,0.296691268682480,0.004447639919817,0.044186424463987,-0.136843189597130,0.393356114625931,-0.050105411559343,-0.215979412198067,-0.116099111735821,-0.095677331089973,-0.032373737543821,-0.046948354691267,-0.005010463763028) * MODEL11_texOff(vec2(0,1));
res += mat4(-0.079397298395634,0.058199610561132,0.043290529400110,-0.050733081996441,-0.160139352083206,-0.036095026880503,-0.006350926589221,-0.097839497029781,-0.109501875936985,-0.024587189778686,-0.150769010186195,-0.020716583356261,-0.117667630314827,-0.003585500875488,-0.138644382357597,-0.006487730424851) * MODEL11_texOff(vec2(1,-1));
res += mat4(0.266880333423615,-0.005980185698718,0.286427021026611,0.038251820951700,0.059045601636171,0.025985671207309,0.139224722981453,-0.062573865056038,0.200594350695610,0.039587724953890,-0.120240904390812,-0.035034347325563,-0.040906030684710,0.089466564357281,-0.070505686104298,0.013609106652439) * MODEL11_texOff(vec2(1,0));
res += mat4(0.199121952056885,-0.001820370205678,0.166885375976563,0.036025557667017,-0.062542654573917,-0.110426232218742,0.151682823896408,-0.009042683057487,0.363756537437439,0.031159151345491,-0.043190047144890,-0.045712597668171,0.094907745718956,0.080358020961285,-0.000141930810059,-0.003366342745721) * MODEL11_texOff(vec2(1,1));
res += mat4(-0.334546864032745,-0.049420684576035,0.273774981498718,-0.320562064647675,0.171516045928001,0.094499699771404,0.216749384999275,0.108835518360138,-0.150796726346016,-0.048430819064379,-0.052522227168083,-0.005673422012478,0.020900195464492,0.037355683743954,-0.146220788359642,0.143103361129761) * MODEL12_texOff(vec2(-1,-1));
res += mat4(-0.075655624270439,0.164986342191696,0.100050076842308,-0.271685063838959,-0.110879652202129,-0.032167624682188,0.128006994724274,0.041209317743778,-0.486835330724716,0.091929867863655,-0.222658812999725,0.034281183034182,0.048325996845961,0.171167656779289,-0.273069083690643,-0.379212647676468) * MODEL12_texOff(vec2(-1,0));
res += mat4(-0.111687608063221,-0.028101997449994,0.034153852611780,0.028796309605241,-0.206323951482773,0.073292799293995,-0.156896263360977,0.011132239364088,-0.173429518938065,0.059660676866770,0.123657338321209,-0.036100972443819,-0.088873796164989,-0.341402709484100,-0.005798870697618,-0.027510516345501) * MODEL12_texOff(vec2(-1,1));
res += mat4(-0.050816893577576,-0.029823817312717,-0.133117586374283,-0.275469630956650,-0.219659969210625,0.040737032890320,-0.115981698036194,0.165533438324928,-0.121828317642212,0.068973369896412,0.029258422553539,-0.304276525974274,0.042851738631725,0.075874537229538,0.260798245668411,0.269384324550629) * MODEL12_texOff(vec2(0,-1));
res += mat4(0.071071922779083,-0.045760817825794,-0.031454421579838,-0.175620466470718,-0.054596818983555,-0.047091517597437,0.109191365540028,-0.101208485662937,0.212427049875259,-0.085444316267967,0.246861577033997,-0.202551424503326,-0.117913894355297,0.281739532947540,0.098346769809723,-0.614980518817902) * MODEL12_texOff(vec2(0,0));
res += mat4(0.168513536453247,0.020197458565235,-0.022141607478261,0.076622024178505,-0.013361127115786,-0.137190759181976,-0.036276146769524,-0.155883505940437,-0.006482508033514,-0.153411254286766,0.052617751061916,-0.017773805186152,0.022807484492660,-0.339668631553650,-0.103291630744934,0.285119086503983) * MODEL12_texOff(vec2(0,1));
res += mat4(-0.137074425816536,-0.017744911834598,-0.042186636477709,0.052819412201643,0.318540215492249,-0.094873964786530,0.080990694463253,0.009419165551662,-0.033954378217459,0.050060030072927,-0.015099261887372,-0.023403102532029,0.004734591115266,0.090114623308182,0.020173942670226,0.155867844820023) * MODEL12_texOff(vec2(1,-1));
res += mat4(0.037940051406622,-0.029638119041920,-0.100784033536911,-0.052438914775848,0.196464255452156,0.057093970477581,0.134264379739761,-0.125563457608223,0.033968422561884,0.015690669417381,0.020116033032537,-0.024287013337016,0.184392407536507,0.111161723732948,0.134271070361137,-0.046856183558702) * MODEL12_texOff(vec2(1,0));
res += mat4(-0.020915150642395,0.023642020300031,-0.024558076635003,0.084511063992977,0.159051343798637,-0.134709477424622,0.187977805733681,-0.083008937537670,-0.030775934457779,-0.038065984845161,0.002761357929558,-0.007531329989433,0.025497144088149,-0.127164050936699,0.087364062666893,-0.025664102286100) * MODEL12_texOff(vec2(1,1));
res = max(res, vec4(0.0)) + vec4(0.067219354212284,0.036266285926104,-0.053934369236231,0.878003180027008) * min(res, vec4(0.0));
return res;
}

//!HOOK LUMA
//!WHEN OUTPUT.w LUMA.w 2.200 * > OUTPUT.h LUMA.h 2.200 * > *
//!COMPONENTS 4
//!BIND MODEL7
//!BIND MODEL8
//!BIND MODEL9
//!BIND MODEL10
//!BIND MODEL11
//!BIND MODEL12
//!SAVE MODEL5
//!DESC [AiUpscale_HQ_Sharp_3x_LineArt] mapping 5_5

vec4 hook()
{
vec4 res = vec4(-0.182817071676254,-0.315914392471313,0.204552218317986,-0.173070698976517);
res += mat4(-0.033011902123690,0.098496496677399,-0.035523988306522,0.041826423257589,-0.050714183598757,0.035306323319674,-0.039102617651224,0.040398936718702,0.115494064986706,0.066891469061375,0.294917285442352,-0.155278652906418,0.077927567064762,-0.104806289076805,-0.180840253829956,-0.179448559880257) * MODEL7_texOff(vec2(-1,-1));
res += mat4(0.048305112868547,0.106995403766632,-0.150173172354698,0.072046034038067,-0.199938043951988,-0.120568901300430,0.094904564321041,-0.159925997257233,0.074665546417236,0.134490355849266,0.079511150717735,0.319798231124878,-0.103961832821369,-0.118972323834896,0.041627358645201,-0.116785764694214) * MODEL7_texOff(vec2(-1,0));
res += mat4(0.104150749742985,0.175385221838951,-0.017124956473708,-0.184068828821182,-0.092494875192642,-0.067036695778370,0.009621091187000,-0.022411026060581,0.121058478951454,0.031423166394234,-0.172990694642067,0.332456231117249,0.197993189096451,-0.089148499071598,-0.004214602988213,-0.183739334344864) * MODEL7_texOff(vec2(-1,1));
res += mat4(-0.060869254171848,0.083153650164604,0.096435785293579,-0.028117483481765,-0.056980613619089,0.005285004153848,-0.202781468629837,0.051640760153532,-0.015276156365871,0.011373707093298,0.051245529204607,0.357557713985443,0.133773773908615,-0.017245689406991,-0.096863739192486,-0.064617097377777) * MODEL7_texOff(vec2(0,-1));
res += mat4(-0.204061090946198,0.018254365772009,0.014104662463069,0.035349547863007,-0.193455517292023,0.315282434225082,0.034207075834274,-0.314872145652771,-0.004576704464853,0.256936639547348,0.012587750330567,-0.286382168531418,-0.300233006477356,-0.049805808812380,0.101910047233105,0.104955494403839) * MODEL7_texOff(vec2(0,0));
res += mat4(-0.013021945022047,0.100312218070030,0.005954239051789,0.039536550641060,-0.127196431159973,-0.313480406999588,-0.115615449845791,0.509854733943939,-0.106441631913185,0.036341585218906,-0.037610538303852,0.144957169890404,0.153381094336510,-0.069030851125717,-0.005512670613825,-0.312937080860138) * MODEL7_texOff(vec2(0,1));
res += mat4(0.072390973567963,0.083854161202908,0.029518969357014,0.433578908443451,-0.063498608767986,-0.003836264833808,0.131407365202904,0.025764435529709,0.008675318211317,-0.063252247869968,0.259728670120239,0.252391785383224,0.192588105797768,-0.013874633237720,-0.193756222724915,-0.136976867914200) * MODEL7_texOff(vec2(1,-1));
res += mat4(0.254064947366714,-0.132886797189713,0.001306734280661,-0.008408968336880,-0.131426379084587,0.255808711051941,0.000905270280782,0.369382351636887,0.134651601314545,0.124754697084427,0.250066250562668,0.175808683037758,0.027909880504012,-0.106101676821709,-0.105098553001881,-0.465629339218140) * MODEL7_texOff(vec2(1,0));
res += mat4(0.098764859139919,0.081109963357449,-0.080301716923714,0.159553617238998,0.099886357784271,0.171962797641754,0.037624128162861,-0.440551936626434,0.159886181354523,0.193854615092278,-0.013153730891645,-0.038102440536022,0.096443369984627,-0.138562157750130,-0.066744074225426,-0.024902647361159) * MODEL7_texOff(vec2(1,1));
res += mat4(0.128920674324036,-0.053683042526245,0.111322015523911,0.184951797127724,0.005395723972470,-0.056619539856911,0.026467340067029,0.026124712079763,0.062801115214825,0.007662677206099,0.117257393896580,0.074611306190491,-0.116627059876919,0.065972559154034,-0.045998539775610,0.169118359684944) * MODEL8_texOff(vec2(-1,-1));
res += mat4(0.011924915015697,-0.007006283383816,0.187788635492325,-0.035860884934664,-0.001990514341742,-0.091137252748013,0.022624488919973,-0.036033991724253,0.126672059297562,-0.231263056397438,-0.104503564536572,0.295379757881165,-0.059150144457817,-0.023630138486624,0.052807789295912,-0.127800494432449) * MODEL8_texOff(vec2(-1,0));
res += mat4(-0.011782514862716,0.133263468742371,0.088139966130257,-0.455256015062332,0.016437400132418,-0.080635480582714,0.074929185211658,-0.073742866516113,-0.131277397274971,-0.126964494585991,0.106789842247963,-0.016658226028085,0.009500554762781,0.017676187679172,0.033114533871412,-0.224055573344231) * MODEL8_texOff(vec2(-1,1));
res += mat4(-0.152998507022858,0.219971999526024,-0.065783999860287,-0.138901352882385,0.216300711035728,-0.047471541911364,-0.125049918889999,0.040465097874403,0.183692127466202,0.215373814105988,0.127783849835396,0.177141144871712,0.036982424557209,-0.018063005059958,0.100106522440910,-0.046995203942060) * MODEL8_texOff(vec2(0,-1));
res += mat4(-0.070549361407757,0.216415449976921,0.127847731113434,0.076974838972092,-0.138012498617172,0.121414400637150,-0.098069719970226,0.097913891077042,0.332596391439438,0.112288221716881,-0.076872862875462,-0.086375027894974,0.206784978508949,-0.126938551664352,0.116062581539154,0.165662273764610) * MODEL8_texOff(vec2(0,0));
res += mat4(-0.074103102087975,0.010653634555638,0.028367036953568,0.372261047363281,-0.146074429154396,-0.033881012350321,-0.088513202965260,0.196817830204964,-0.329113334417343,-0.128983989357948,-0.072364658117294,0.279688239097595,-0.117230102419853,-0.055867280811071,-0.131939828395844,0.152390182018280) * MODEL8_texOff(vec2(0,1));
res += mat4(0.017056662589312,0.073679991066456,0.288355499505997,0.285653293132782,0.236529365181923,0.108152292668819,-0.073140718042850,-0.051089361310005,-0.009899000637233,0.003866645274684,0.085993096232414,0.107219636440277,-0.015945030376315,-0.177704706788063,0.040598176419735,-0.143118366599083) * MODEL8_texOff(vec2(1,-1));
res += mat4(0.008125288411975,0.056355901062489,0.013356624171138,-0.070731952786446,0.103254131972790,0.035407688468695,0.062894269824028,0.030175579711795,0.190077230334282,0.037216085940599,0.030759060755372,0.084663607180119,0.017989303916693,0.022665590047836,-0.193358480930328,0.053098339587450) * MODEL8_texOff(vec2(1,0));
res += mat4(0.108054913580418,-0.003238901495934,-0.013605831190944,-0.128971844911575,-0.039835862815380,-0.037192780524492,0.125459790229797,0.116671934723854,-0.172859996557236,0.023476215079427,-0.119688913226128,-0.167284384369850,0.002008489333093,0.074498258531094,-0.078809656202793,0.074105530977249) * MODEL8_texOff(vec2(1,1));
res += mat4(0.171554803848267,0.056436739861965,-0.059355683624744,-0.142911553382874,-0.014574298635125,0.089846976101398,0.023001341149211,0.042024761438370,0.014752045273781,0.166029810905457,-0.003422927809879,0.152013987302780,0.027980145066977,-0.197939515113831,-0.066543839871883,0.036599498242140) * MODEL9_texOff(vec2(-1,-1));
res += mat4(0.101817227900028,0.114230990409851,-0.028345711529255,0.166327208280563,0.049899950623512,0.206778988242149,-0.185028225183487,-0.149605050683022,-0.019259516149759,0.035874556750059,0.040726974606514,0.241898760199547,0.016946181654930,-0.091108225286007,-0.136658683419228,-0.053673781454563) * MODEL9_texOff(vec2(-1,0));
res += mat4(-0.147878244519234,-0.016817908734083,0.026430251076818,0.024761224165559,0.092966236174107,-0.003481605090201,-0.119435802102089,0.215505167841911,-0.063643917441368,0.062877893447876,0.013364454731345,0.044469002634287,-0.067298658192158,0.076923407614231,0.103277690708637,-0.065475232899189) * MODEL9_texOff(vec2(-1,1));
res += mat4(0.164599835872650,-0.011919027194381,-0.113701194524765,-0.031518254429102,0.048790827393532,-0.000628441222943,-0.109028443694115,-0.269276410341263,-0.017796069383621,0.171714380383492,-0.142452195286751,0.191836357116699,0.003659371985123,-0.087055146694183,-0.169928193092346,-0.121045552194118) * MODEL9_texOff(vec2(0,-1));
res += mat4(0.039029058068991,0.029426986351609,0.064882196485996,0.042156718671322,0.296016335487366,0.279504805803299,-0.313875883817673,0.155445113778114,0.096578344702721,0.251262426376343,-0.251058727502823,0.095539405941963,0.196680873632431,-0.278123795986176,-0.026128331199288,-0.056757651269436) * MODEL9_texOff(vec2(0,0));
res += mat4(0.097363986074924,-0.006622946355492,0.032240319997072,-0.000688810367137,0.075095474720001,0.125733524560928,-0.105926603078842,-0.044124756008387,0.210790202021599,0.201915994286537,-0.269193619489670,0.067995987832546,-0.100286982953548,-0.036287404596806,-0.077287770807743,0.229239076375961) * MODEL9_texOff(vec2(0,1));
res += mat4(0.038757920265198,-0.028713135048747,0.067603603005409,0.112019613385201,-0.111613869667053,-0.084069244563580,0.093198582530022,-0.068364262580872,-0.023039372637868,0.012233711779118,-0.116537898778915,0.036703176796436,0.003354491200298,-0.175369441509247,0.018860295414925,0.125864908099174) * MODEL9_texOff(vec2(1,-1));
res += mat4(0.125475928187370,0.009718941524625,-0.074595332145691,0.079339265823364,-0.017335975542665,0.209197506308556,-0.040731832385063,0.238992348313332,0.097302056849003,0.049369804561138,-0.163969829678535,0.002120937220752,0.163299635052681,-0.444318443536758,0.044693037867546,-0.245254203677177) * MODEL9_texOff(vec2(1,0));
res += mat4(0.046841531991959,0.028581568971276,0.141160339117050,-0.110763005912304,-0.016697620972991,0.037536554038525,-0.243857637047768,0.187293127179146,-0.076078094542027,0.157740265130997,0.026129044592381,0.047630418092012,0.058573067188263,0.044385008513927,-0.104751043021679,-0.214029297232628) * MODEL9_texOff(vec2(1,1));
res += mat4(-0.011045570485294,0.033015046268702,0.161452174186707,-0.050789978355169,-0.118283264338970,-0.043047778308392,-0.057004917412996,0.108059681952000,0.151078999042511,-0.009949872270226,0.227364450693130,-0.268386542797089,0.089906066656113,0.095794439315796,0.128418624401093,-0.069562241435051) * MODEL10_texOff(vec2(-1,-1));
res += mat4(-0.335763275623322,-0.080684095621109,0.244441509246826,0.045575238764286,-0.161148235201836,-0.065176732838154,0.110099807381630,-0.184046968817711,0.035933300852776,0.024148283526301,0.034376580268145,-0.170240461826324,0.030011175200343,-0.016736835241318,-0.023319248110056,0.185859873890877) * MODEL10_texOff(vec2(-1,0));
res += mat4(0.069714628160000,0.008114128373563,0.003435963531956,0.089763596653938,-0.039993554353714,0.057499181479216,0.088736854493618,-0.211996883153915,-0.153420493006706,0.027917303144932,-0.060577996075153,0.107463128864765,-0.007557225413620,0.008787188678980,-0.149795636534691,0.128310799598694) * MODEL10_texOff(vec2(-1,1));
res += mat4(0.033605080097914,0.016793301329017,0.125108137726784,-0.169257417321205,-0.037181321531534,0.075689427554607,-0.087310753762722,-0.268893450498581,0.014279576018453,-0.237126007676125,-0.176333919167519,0.048283491283655,-0.104349657893181,-0.040945068001747,-0.300025671720505,0.138077095150948) * MODEL10_texOff(vec2(0,-1));
res += mat4(-0.212071850895882,-0.025323973968625,0.336547225713730,-0.051137242466211,0.022405287250876,0.168872624635696,0.093244381248951,-0.227658048272133,-0.264187306165695,0.197554379701614,-0.239530578255653,0.043077643960714,-0.008929643779993,0.024504004046321,0.099015571177006,-0.216440930962563) * MODEL10_texOff(vec2(0,0));
res += mat4(-0.289418786764145,-0.068492382764816,0.186491668224335,0.051458850502968,-0.112435944378376,0.027082711458206,-0.011339716613293,-0.090169824659824,-0.068528316915035,-0.053079456090927,0.222203612327576,0.120276264846325,-0.149100854992867,0.078440248966217,0.048502042889595,0.024825183674693) * MODEL10_texOff(vec2(0,1));
res += mat4(0.107973046600819,-0.022384045645595,-0.074193879961967,0.151250585913658,0.076544471085072,0.076964013278484,-0.134711191058159,-0.346251785755157,-0.088500849902630,-0.090282313525677,0.120063200592995,0.169145435094833,-0.135702371597290,0.138844698667526,0.000044285014155,0.033286307007074) * MODEL10_texOff(vec2(1,-1));
res += mat4(0.039478644728661,0.049867205321789,0.210450381040573,0.090247318148613,-0.092762522399426,0.147627234458923,0.002421209355816,-0.195861488580704,0.198403775691986,0.223820045590401,0.049171656370163,0.069846376776695,-0.112034834921360,0.124845720827579,0.065828144550323,0.086758844554424) * MODEL10_texOff(vec2(1,0));
res += mat4(0.125007152557373,0.070935465395451,-0.066537089645863,0.019569555297494,-0.143440291285515,-0.051738895475864,0.094581723213196,0.080669075250626,0.049556307494640,0.074757777154446,0.041794843971729,-0.377989739179611,-0.165348187088966,-0.058407597243786,-0.080177955329418,0.123088747262955) * MODEL10_texOff(vec2(1,1));
res += mat4(0.054115358740091,0.044681388884783,-0.173720866441727,0.273676365613937,0.059652473777533,0.089720755815506,-0.106110103428364,0.139330074191093,0.072169154882431,0.177172333002090,0.105237446725368,-0.133198201656342,-0.033836264163256,0.177578434348106,0.042557056993246,0.272103965282440) * MODEL11_texOff(vec2(-1,-1));
res += mat4(0.050025846809149,-0.219519510865211,-0.159279271960258,-0.107631646096706,0.131471514701843,0.050863742828369,-0.188285455107689,0.126920416951180,0.170606657862663,0.086032524704933,0.055934555828571,-0.018389962613583,-0.017664441838861,0.078965283930302,0.045461382716894,0.077838189899921) * MODEL11_texOff(vec2(-1,0));
res += mat4(0.380290985107422,0.085537940263748,-0.079924665391445,-0.180258110165596,-0.059625115245581,-0.018845248967409,-0.084542669355869,0.211905106902122,0.026146527379751,-0.173239037394524,-0.092716790735722,0.032032229006290,0.119493678212166,0.086202152073383,0.158904761075974,-0.110636882483959) * MODEL11_texOff(vec2(-1,1));
res += mat4(-0.046534296125174,-0.004536363761872,-0.096114836633205,0.134289249777794,-0.058466162532568,0.063932545483112,-0.176899164915085,-0.183190658688545,-0.000085985164333,0.054614771157503,-0.075102239847183,0.089788451790810,-0.134945139288902,-0.131133928894997,-0.215444013476372,-0.251179933547974) * MODEL11_texOff(vec2(0,-1));
res += mat4(0.004729870241135,0.153422847390175,-0.017785742878914,-0.021673958748579,0.087275318801403,0.173197224736214,0.025797434151173,-0.058382008224726,0.005892906337976,-0.032451905310154,-0.117127649486065,-0.198749199509621,0.351379573345184,-0.028075618669391,0.173251807689667,-0.318311542272568) * MODEL11_texOff(vec2(0,0));
res += mat4(0.184783756732941,0.097294911742210,0.081423372030258,-0.134791865944862,-0.091226853430271,0.151679500937462,0.150054961442947,-0.113244973123074,-0.114550963044167,0.094556309282780,0.066629104316235,-0.174066752195358,-0.084932886064053,0.089602775871754,-0.025409117341042,0.105446897447109) * MODEL11_texOff(vec2(0,1));
res += mat4(-0.045511379837990,-0.251902043819427,0.133900687098503,-0.115744300186634,0.035654939711094,-0.133821487426758,-0.006744577549398,-0.134643688797951,0.134299486875534,-0.161348149180412,0.154260247945786,-0.010474024340510,-0.035467609763145,-0.058062668889761,-0.097120210528374,-0.215486735105515) * MODEL11_texOff(vec2(1,-1));
res += mat4(0.064099654555321,-0.024179035797715,-0.088697277009487,0.291558116674423,0.000492122140713,0.062974877655506,-0.018357040360570,0.208281651139259,0.108701266348362,-0.097267478704453,0.126771777868271,0.217052057385445,-0.094857536256313,-0.051364425569773,-0.017042614519596,-0.031795382499695) * MODEL11_texOff(vec2(1,0));
res += mat4(0.033221561461687,0.144702807068825,-0.031677126884460,-0.001462304033339,0.096334978938103,0.141577824950218,-0.061317410320044,0.141358643770218,0.042743414640427,-0.146756514906883,0.019442224875093,-0.011082578450441,-0.033706728368998,-0.116330906748772,0.016713829711080,0.159852892160416) * MODEL11_texOff(vec2(1,1));
res += mat4(0.084263041615486,-0.063143126666546,-0.051170352846384,-0.081038050353527,0.109410285949707,-0.058107968419790,0.046660825610161,-0.185874804854393,-0.068622790277004,-0.042808819562197,-0.024033151566982,-0.204421311616898,0.043824207037687,0.063696816563606,0.262811988592148,0.051769260317087) * MODEL12_texOff(vec2(-1,-1));
res += mat4(-0.591427087783813,0.036416511982679,-0.186815157532692,-0.249200731515884,0.059501662850380,0.292760401964188,-0.067041724920273,0.428421616554260,0.028760012239218,-0.080702111124992,0.091141842305660,0.223113328218460,0.108756035566330,0.036663237959146,-0.063826508820057,-0.187216356396675) * MODEL12_texOff(vec2(-1,0));
res += mat4(0.201236844062805,0.145649269223213,-0.044310413300991,0.188311308622360,-0.041582692414522,-0.011004231870174,0.005874924361706,0.091755613684654,-0.100228577852249,-0.169996127486229,-0.003519852180034,0.161246240139008,0.436326205730438,0.007462060544640,-0.158942058682442,0.066332593560219) * MODEL12_texOff(vec2(-1,1));
res += mat4(-0.029384437948465,-0.156983956694603,-0.023475788533688,-0.323938667774200,0.078522317111492,0.069462172687054,0.056133881211281,0.193470239639282,-0.084594212472439,-0.102809607982635,-0.003215317148715,-0.164864301681519,0.061916783452034,-0.013515986502171,0.151359841227531,0.416775256395340) * MODEL12_texOff(vec2(0,-1));
res += mat4(-0.518243849277496,-0.079248905181885,-0.192603409290314,-0.039318867027760,0.006003270391375,0.106716066598892,0.100512556731701,-0.116016723215580,-0.161107972264290,0.197421729564667,0.067677073180676,-0.350194871425629,0.387595176696777,0.062009040266275,-0.027965994551778,0.166938394308090) * MODEL12_texOff(vec2(0,0));
res += mat4(-0.017032030969858,0.063750311732292,0.075446434319019,-0.185563728213310,-0.075455792248249,0.087591618299484,0.132762074470520,0.194238081574440,0.189329296350479,0.271167635917664,0.058933407068253,-0.169662266969681,0.345305025577545,0.251702219247818,-0.040803685784340,-0.100552313029766) * MODEL12_texOff(vec2(0,1));
res += mat4(0.026871547102928,-0.062671825289726,-0.128195822238922,-0.080916792154312,0.035032272338867,0.008582971990108,0.017506659030914,0.166656270623207,0.013395476154983,-0.089421093463898,0.014748914167285,0.049767836928368,0.025570234283805,-0.173982933163643,0.106568358838558,0.005548282526433) * MODEL12_texOff(vec2(1,-1));
res += mat4(0.026790792122483,-0.169182181358337,0.164562925696373,-0.188590556383133,0.114415697753429,0.199280574917793,0.119028277695179,-0.203079044818878,-0.026792393997312,-0.072546422481537,0.023763049393892,-0.118361607193947,-0.059334672987461,-0.004466068465263,0.034566830843687,0.197244822978973) * MODEL12_texOff(vec2(1,0));
res += mat4(-0.054476775228977,-0.067921251058578,-0.110080033540726,0.024833638221025,0.070879980921745,0.071965768933296,0.045408874750137,0.164735987782478,-0.094970822334290,0.169531241059303,0.046836610883474,0.000700491655152,0.086885377764702,0.173298969864845,0.001132187200710,-0.047108657658100) * MODEL12_texOff(vec2(1,1));
res = max(res, vec4(0.0)) + vec4(0.142521694302559,0.025164742022753,-0.008179495111108,0.050908870995045) * min(res, vec4(0.0));
return res;
}

//!HOOK LUMA
//!WHEN OUTPUT.w LUMA.w 2.200 * > OUTPUT.h LUMA.h 2.200 * > *
//!COMPONENTS 4
//!BIND MODEL7
//!BIND MODEL8
//!BIND MODEL9
//!BIND MODEL10
//!BIND MODEL11
//!BIND MODEL12
//!SAVE MODEL6
//!DESC [AiUpscale_HQ_Sharp_3x_LineArt] mapping 5_6

vec4 hook()
{
vec4 res = vec4(-0.059013284742832,-0.093280620872974,0.261123299598694,-0.167676195502281);
res += mat4(-0.380195289850235,-0.049108613282442,-0.007607777137309,0.016792546957731,0.018387295305729,0.004538199864328,-0.015199670568109,-0.044984061270952,-0.036611240357161,0.088808670639992,-0.086215272545815,-0.099973268806934,-0.118181802332401,0.159670248627663,-0.259289473295212,0.361639082431793) * MODEL7_texOff(vec2(-1,-1));
res += mat4(-0.172110304236412,0.100955747067928,-0.043027311563492,-0.078781008720398,-0.020134555175900,0.071473792195320,-0.074068002402782,-0.013832387514412,-0.143436849117279,-0.015933923423290,-0.192523211240768,-0.060299519449472,-0.542118370532990,0.146411880850792,-0.244416907429695,0.193600967526436) * MODEL7_texOff(vec2(-1,0));
res += mat4(-0.137097686529160,0.015337691642344,0.036452364176512,0.080900564789772,-0.095466457307339,-0.108884036540985,0.187360003590584,0.030833084136248,-0.008493479341269,-0.099530480802059,-0.237524792551994,-0.054117139428854,0.049247894436121,0.002927516819909,-0.145551130175591,0.169479221105576) * MODEL7_texOff(vec2(-1,1));
res += mat4(0.149463325738907,-0.028993576765060,0.018049387261271,0.012333040125668,0.014361254870892,-0.033526122570038,-0.058682009577751,0.015631010755897,0.213623955845833,0.102879263460636,-0.191951349377632,-0.083876535296440,-0.393832236528397,0.128946587443352,-0.192338511347771,0.248359784483910) * MODEL7_texOff(vec2(0,-1));
res += mat4(0.391826510429382,0.103637665510178,-0.074589595198631,0.208276644349098,-0.286957144737244,0.171760737895966,0.154384627938271,0.109847210347652,0.151235684752464,-0.024660699069500,-0.143572032451630,-0.070611335337162,-0.358250826597214,0.236450657248497,0.033154491335154,0.367658764123917) * MODEL7_texOff(vec2(0,0));
res += mat4(0.185024335980415,-0.036715257912874,0.208461835980415,0.072484396398067,0.129987701773643,0.109444826841354,0.121263720095158,0.022045698016882,0.059160523116589,-0.012953775934875,-0.053295042365789,-0.124577522277832,0.004371135029942,0.070047408342361,-0.022328991442919,0.216054722666740) * MODEL7_texOff(vec2(0,1));
res += mat4(0.265791803598404,0.115944832563400,-0.053646698594093,-0.180166110396385,-0.031691368669271,0.141545280814171,0.101936459541321,0.093348525464535,0.141285181045532,0.094282366335392,-0.096795678138733,-0.155957296490669,-0.169398456811905,-0.025997417047620,-0.072270542383194,0.157059669494629) * MODEL7_texOff(vec2(1,-1));
res += mat4(0.163382351398468,0.033231046050787,-0.222544491291046,-0.181818366050720,0.097250021994114,0.196285709738731,0.145424067974091,0.108600743114948,0.072826176881790,-0.169525027275085,-0.227590441703796,-0.095284245908260,-0.243999481201172,0.048389971256256,-0.017172794789076,0.235430717468262) * MODEL7_texOff(vec2(1,0));
res += mat4(0.231055915355682,-0.000815995445009,0.009848335757852,-0.107623644173145,-0.029843175783753,0.049582578241825,-0.072862595319748,0.044280834496021,-0.014254759065807,0.023391669616103,-0.171890333294868,0.067331083118916,0.085372231900692,-0.049123201519251,-0.082423150539398,0.163635388016701) * MODEL7_texOff(vec2(1,1));
res += mat4(-0.191755801439285,0.159964144229889,-0.075368762016296,-0.097946472465992,-0.194405481219292,0.123334154486656,-0.140492424368858,0.108005113899708,0.174491673707962,0.147680446505547,0.010352456942201,-0.084202267229557,0.278952270746231,-0.051847897469997,0.028651896864176,-0.090525887906551) * MODEL8_texOff(vec2(-1,-1));
res += mat4(-0.030669484287500,0.025453636422753,-0.193815633654594,0.078282497823238,-0.095018424093723,0.140442505478859,-0.085774585604668,0.051712200045586,0.233690515160561,0.272539883852005,0.061537686735392,-0.002926921006292,-0.010999946855009,0.039625827223063,0.122430227696896,0.033784378319979) * MODEL8_texOff(vec2(-1,0));
res += mat4(-0.061768442392349,0.116974160075188,-0.044098764657974,0.021788254380226,-0.030389063060284,0.133497849106789,0.053655125200748,0.209994897246361,-0.072283655405045,0.069049187004566,-0.036428466439247,0.154031828045845,0.085126653313637,0.081174664199352,0.030740400776267,-0.151484534144402) * MODEL8_texOff(vec2(-1,1));
res += mat4(-0.180873036384583,0.089712053537369,0.103217773139477,-0.024008424952626,0.105027049779892,-0.059526894241571,-0.066562481224537,-0.208288505673409,0.321082472801208,-0.089491330087185,-0.004602020140737,0.174029603600502,-0.069238513708115,-0.112898722290993,0.016754353418946,-0.212370589375496) * MODEL8_texOff(vec2(0,-1));
res += mat4(-0.151027187705040,0.088499046862125,-0.077850103378296,0.063927337527275,0.112003654241562,0.052046608179808,-0.166417419910431,-0.088289923965931,0.084535554051399,-0.362931877374649,0.066467784345150,-0.437127560377121,0.109176479279995,-0.412503331899643,0.038502022624016,-0.180929198861122) * MODEL8_texOff(vec2(0,0));
res += mat4(-0.035688284784555,0.083376288414001,0.055293940007687,0.271983265876770,0.076324395835400,0.042168814688921,-0.162149697542191,0.082071505486965,0.109926328063011,0.179241195321083,0.027917299419641,-0.071116000413895,-0.237682595849037,-0.093918770551682,0.032785661518574,0.049906335771084) * MODEL8_texOff(vec2(0,1));
res += mat4(0.248017862439156,-0.030678827315569,-0.079175621271133,0.014194858260453,-0.393128365278244,0.055692646652460,-0.116945795714855,0.065862692892551,0.007099000737071,0.161931663751602,0.060669254511595,0.170862168073654,-0.023102065548301,-0.042323101311922,-0.048297502100468,-0.207409575581551) * MODEL8_texOff(vec2(1,-1));
res += mat4(0.031918097287416,-0.184522941708565,-0.103689372539520,0.002758093411103,-0.151463821530342,0.083714812994003,-0.022253723815084,0.158465534448624,0.013962364755571,-0.128859996795654,-0.072941370308399,-0.177400305867195,0.107400767505169,-0.024400522932410,-0.184335514903069,0.169829756021500) * MODEL8_texOff(vec2(1,0));
res += mat4(0.203428491950035,-0.045794866979122,0.118675991892815,0.081270836293697,-0.004728655796498,0.004063289612532,0.009781389497221,0.266770690679550,-0.214636489748955,-0.026904117316008,-0.049249138683081,0.048659294843674,-0.023091888055205,-0.015209986828268,-0.059196401387453,0.007263750303537) * MODEL8_texOff(vec2(1,1));
res += mat4(0.119083896279335,-0.110718868672848,-0.084794566035271,-0.139310300350189,-0.093896403908730,-0.056019999086857,-0.031781144440174,-0.039089594036341,-0.131558671593666,0.016060009598732,0.071665875613689,-0.024123139679432,-0.045304641127586,-0.097184211015701,-0.056706406176090,0.032209903001785) * MODEL9_texOff(vec2(-1,-1));
res += mat4(0.184874698519707,-0.220663666725159,0.209444791078568,-0.307354360818863,0.064055375754833,0.024261295795441,0.145564362406731,-0.075589299201965,0.052120704203844,0.043800134211779,-0.044672038406134,-0.064211919903755,0.239756017923355,-0.029264803975821,-0.193956479430199,-0.003994718194008) * MODEL9_texOff(vec2(-1,0));
res += mat4(0.043819595128298,0.006508409045637,0.152501270174980,-0.037564720958471,0.281894117593765,-0.035127591341734,-0.060630168765783,-0.034556526690722,0.117928452789783,0.056548655033112,-0.049217648804188,-0.070392429828644,-0.093015439808369,0.053296092897654,0.035182788968086,0.027341144159436) * MODEL9_texOff(vec2(-1,1));
res += mat4(0.029440710321069,-0.024892501533031,-0.004697070922703,0.148351460695267,-0.138031393289566,0.002720486838371,0.131142854690552,-0.113162025809288,0.050976380705833,0.005589547101408,0.073719918727875,-0.037244305014610,0.100936211645603,0.021314997226000,0.079609088599682,-0.014131450094283) * MODEL9_texOff(vec2(0,-1));
res += mat4(0.219454541802406,-0.062893785536289,0.171433046460152,-0.060969118028879,-0.118594631552696,-0.077153272926807,-0.083447270095348,0.095642678439617,0.028434630483389,0.186468809843063,-0.009239158593118,-0.033925540745258,0.241500794887543,-0.187079191207886,-0.176823109388351,0.151889368891716) * MODEL9_texOff(vec2(0,0));
res += mat4(0.151671230792999,0.082367435097694,0.139289557933807,-0.119765810668468,-0.024635083973408,-0.011306897737086,0.059348996728659,0.023001616820693,-0.040716391056776,-0.063274197280407,-0.267006546258926,-0.188153922557831,0.047976892441511,0.126745045185089,0.224172487854958,0.014607379212976) * MODEL9_texOff(vec2(0,1));
res += mat4(-0.069534011185169,0.030376793816686,-0.028757262974977,0.244135111570358,0.258120268583298,0.118642926216125,0.149918928742409,-0.023132409900427,0.088648557662964,0.029650630429387,-0.017309086397290,-0.020983509719372,-0.008362960070372,-0.043332520872355,0.046047933399677,-0.021536003798246) * MODEL9_texOff(vec2(1,-1));
res += mat4(-0.054793246090412,0.105928808450699,-0.049478862434626,0.077805250883102,0.250880837440491,0.136846065521240,0.093272812664509,0.077938064932823,-0.053070306777954,0.123871535062790,0.054817121475935,-0.014381246641278,0.155965805053711,-0.150195151567459,-0.069025322794914,-0.153232261538506) * MODEL9_texOff(vec2(1,0));
res += mat4(-0.066113211214542,-0.054123856127262,-0.115613572299480,0.072279930114746,0.004040869418532,0.054972387850285,-0.040509819984436,-0.140985086560249,0.013816297985613,-0.025782262906432,0.045088365674019,-0.102252081036568,0.016157958656549,-0.013309657573700,-0.052063409239054,-0.088170729577541) * MODEL9_texOff(vec2(1,1));
res += mat4(0.057722829282284,0.048087716102600,0.034183379262686,0.161965459585190,0.080711133778095,-0.062642715871334,0.081525675952435,-0.145351603627205,-0.029475467279553,0.000509272154886,0.113673962652683,-0.144979834556580,-0.240850970149040,-0.156485289335251,-0.080659680068493,-0.078310057520866) * MODEL10_texOff(vec2(-1,-1));
res += mat4(0.021826840937138,-0.037171460688114,-0.081715658307076,0.095655068755150,-0.044233646243811,-0.069107159972191,0.151131242513657,-0.010698024183512,0.036769915372133,-0.278445571660995,-0.219017684459686,0.056377880275249,-0.096008345484734,-0.145437598228455,0.037784557789564,-0.009873686358333) * MODEL10_texOff(vec2(-1,0));
res += mat4(0.000538754335139,-0.024161092936993,-0.086761727929115,0.194838732481003,-0.030725089833140,-0.127352878451347,0.117384135723114,-0.030737260356545,0.150557294487953,0.054464492946863,0.187007814645767,-0.050495587289333,-0.169125631451607,-0.048198632895947,-0.076351687312126,-0.004441104829311) * MODEL10_texOff(vec2(-1,1));
res += mat4(0.195868849754333,-0.114449121057987,0.028508607298136,0.026207493618131,0.128294229507446,-0.014996394515038,0.007883567363024,-0.090021729469299,0.024549897760153,0.128809794783592,0.031954541802406,-0.352734655141830,0.029589101672173,-0.052803646773100,0.014988379552960,0.025541309267282) * MODEL10_texOff(vec2(0,-1));
res += mat4(-0.178799271583557,-0.117737099528313,-0.015114700421691,-0.204467654228210,-0.049421492964029,0.162716224789619,0.101164989173412,-0.017102690413594,-0.154317721724510,0.178415447473526,0.108407102525234,0.050019230693579,0.294729679822922,0.053780741989613,-0.079195201396942,0.165471002459526) * MODEL10_texOff(vec2(0,0));
res += mat4(0.282119780778885,0.047762949019670,0.150835439562798,-0.114543661475182,-0.058280874043703,-0.149464726448059,0.036602709442377,0.031372096389532,0.174053087830544,0.081713892519474,-0.153681397438049,0.137342900037766,0.185579493641853,0.047808855772018,0.157930284738541,-0.087747618556023) * MODEL10_texOff(vec2(0,1));
res += mat4(0.027010664343834,-0.071170188486576,-0.036495719105005,-0.016501087695360,0.202646926045418,-0.023834550753236,0.029650498181581,0.049074880778790,0.022734066471457,-0.018192304298282,-0.145139321684837,0.026553928852081,-0.059832032769918,0.183090582489967,0.143796622753143,-0.097858712077141) * MODEL10_texOff(vec2(1,-1));
res += mat4(-0.132847905158997,-0.218620046973228,-0.069664396345615,0.170399934053421,-0.090347096323967,0.138318389654160,0.284257709980011,0.175348833203316,0.019434658810496,-0.005237366072834,0.095012500882149,-0.060526177287102,0.107130602002144,0.100536853075027,-0.062153007835150,0.198166981339455) * MODEL10_texOff(vec2(1,0));
res += mat4(0.098220728337765,0.101594209671021,-0.185065045952797,-0.066439837217331,0.036922506988049,0.055767193436623,0.186357170343399,0.001370882266201,0.019047850742936,-0.050126198679209,0.094617813825607,0.090764626860619,0.159479588270187,-0.054030887782574,0.093620009720325,-0.148599594831467) * MODEL10_texOff(vec2(1,1));
res += mat4(-0.170060709118843,-0.042145635932684,-0.035570926964283,-0.020421804860234,-0.129762306809425,-0.008931437507272,-0.089372538030148,0.036566995084286,-0.289350628852844,-0.061623111367226,-0.120569206774235,0.079652421176434,0.185947567224503,-0.213401898741722,0.033508066087961,-0.052837800234556) * MODEL11_texOff(vec2(-1,-1));
res += mat4(-0.049816079437733,-0.010087666101754,-0.089423894882202,-0.120545484125614,0.406288474798203,-0.079225212335587,-0.089819997549057,-0.044266518205404,-0.010028746910393,-0.065995939075947,-0.009022945538163,-0.002318196697161,0.271961599588394,-0.143246531486511,0.053403478115797,0.125236049294472) * MODEL11_texOff(vec2(-1,0));
res += mat4(0.039303958415985,0.033995971083641,-0.356419116258621,0.013314245268703,0.041673172265291,-0.049309588968754,0.221391931176186,-0.173731952905655,-0.087860226631165,-0.041625846177340,0.168489888310432,0.045915979892015,-0.010108454152942,0.030974041670561,-0.016344921663404,0.041358202695847) * MODEL11_texOff(vec2(-1,1));
res += mat4(-0.163471177220345,0.007879233919084,-0.064146399497986,-0.104430139064789,-0.179446369409561,0.284765928983688,-0.243876680731773,0.301891803741455,0.188330128788948,-0.143555745482445,-0.073840752243996,0.045216530561447,0.071047201752663,-0.210349261760712,-0.011320365592837,0.121043041348457) * MODEL11_texOff(vec2(0,-1));
res += mat4(-0.355708003044128,-0.480871886014938,0.098966479301453,-0.263130247592926,-0.105799250304699,-0.068404406309128,-0.062153507024050,-0.174665868282318,-0.009175099432468,-0.247829079627991,-0.060808211565018,-0.237091094255447,0.064478032290936,-0.225324824452400,-0.130286529660225,0.234299466013908) * MODEL11_texOff(vec2(0,0));
res += mat4(-0.083004981279373,-0.301330804824829,-0.036874670535326,0.290744185447693,-0.051262173801661,-0.097100965678692,-0.084773622453213,-0.113056793808937,-0.007841300219297,-0.025971379131079,0.102888502180576,0.106711409986019,0.126287683844566,0.030643969774246,0.121229082345963,0.018104212358594) * MODEL11_texOff(vec2(0,1));
res += mat4(0.108467578887939,0.068170480430126,0.033580109477043,-0.098490767180920,-0.000650816189591,-0.002366473199800,-0.030650814995170,0.074484400451183,0.280972450971603,-0.000634642667137,-0.047045279294252,-0.065037012100220,-0.033118113875389,0.101704247295856,-0.028768997639418,0.086395718157291) * MODEL11_texOff(vec2(1,-1));
res += mat4(0.234451010823250,0.193341970443726,-0.021107530221343,-0.081494376063347,0.008144911378622,0.203190639615059,0.091513521969318,0.058946859091520,0.109673880040646,0.040272980928421,-0.242625400424004,-0.082028493285179,-0.042726647108793,-0.012663089670241,0.169212132692337,-0.172292217612267) * MODEL11_texOff(vec2(1,0));
res += mat4(0.068379275500774,-0.041877292096615,0.012508823536336,0.012670110911131,0.009697366505861,0.089880995452404,-0.118817731738091,-0.133774086833000,0.030273277312517,-0.013722124509513,-0.137781366705894,0.047498553991318,0.089097231626511,0.032320063561201,0.064895361661911,-0.066530883312225) * MODEL11_texOff(vec2(1,1));
res += mat4(-0.308498501777649,-0.199699535965919,-0.017258070409298,0.032728236168623,0.048192564398050,0.035338103771210,0.061994973570108,0.024047480896115,-0.168807953596115,-0.086217530071735,-0.068893134593964,-0.049339711666107,0.272123545408249,0.133107587695122,0.067237265408039,0.009192488156259) * MODEL12_texOff(vec2(-1,-1));
res += mat4(-0.051654756069183,-0.243700757622719,0.177178695797920,-0.155220940709114,0.173662662506104,-0.039874915033579,-0.031118232756853,0.144722014665604,-0.138996466994286,-0.281163722276688,-0.214877665042877,-0.103993065655231,-0.338068336248398,0.388046741485596,-0.038405369967222,0.503303170204163) * MODEL12_texOff(vec2(-1,0));
res += mat4(-0.038164593279362,0.053492773324251,0.026253588497639,0.084579616785049,-0.075369641184807,0.101572029292583,-0.060143236070871,0.090463660657406,0.108630053699017,-0.054752077907324,-0.047379206866026,-0.036195475608110,-0.074326977133751,-0.218694865703583,-0.115286402404308,0.001275731250644) * MODEL12_texOff(vec2(-1,1));
res += mat4(0.028316488489509,-0.005385270807892,0.033212099224329,-0.051439672708511,0.046667736023664,0.025303322821856,0.115673854947090,0.146560549736023,-0.147899895906448,0.007099568843842,-0.037058040499687,0.032204158604145,0.315608739852905,0.130863577127457,0.119261860847473,-0.030276838690042) * MODEL12_texOff(vec2(0,-1));
res += mat4(0.003735127858818,-0.201631948351860,0.183225780725479,-0.219563871622086,0.185437232255936,-0.039809137582779,0.059506095945835,0.095339097082615,-0.063023254275322,0.117943771183491,-0.156053647398949,0.444810867309570,0.157578140497208,0.338321715593338,-0.206711441278458,0.471342504024506) * MODEL12_texOff(vec2(0,0));
res += mat4(0.145092695951462,0.017418555915356,0.016809981316328,0.024237925186753,0.060330841690302,0.060239590704441,0.131021976470947,0.090936914086342,0.140574276447296,0.022051943466067,-0.201667472720146,-0.019921176135540,-0.064184322953224,-0.231724500656128,-0.056823000311852,-0.161646500229836) * MODEL12_texOff(vec2(0,1));
res += mat4(0.003622379619628,-0.069542489945889,0.086889006197453,0.049495801329613,0.125528723001480,0.086989670991898,-0.026296326890588,-0.117020554840565,-0.013914082199335,-0.045574050396681,0.016664333641529,-0.007857972756028,0.053527772426605,0.077904723584652,0.014123882167041,-0.058687061071396) * MODEL12_texOff(vec2(1,-1));
res += mat4(-0.171900212764740,-0.097603410482407,-0.040886301547289,-0.110669530928135,0.206468403339386,0.049460534006357,0.053691223263741,0.083019636571407,-0.020781226456165,0.045041363686323,-0.057263936847448,0.144619166851044,0.060528472065926,0.264016240835190,-0.055474374443293,0.217146664857864) * MODEL12_texOff(vec2(1,0));
res += mat4(0.005964151117951,0.038900773972273,-0.017953308299184,-0.026220627129078,-0.013916178606451,0.119279347360134,0.121765606105328,0.176031664013863,0.066478863358498,0.052003450691700,-0.029162418097258,-0.106718890368938,0.003806862747297,-0.033661216497421,-0.036998517811298,-0.034616839140654) * MODEL12_texOff(vec2(1,1));
res = max(res, vec4(0.0)) + vec4(0.450314462184906,0.062379904091358,-0.108824111521244,0.165833041071892) * min(res, vec4(0.0));
return res;
}

//!HOOK LUMA
//!WHEN OUTPUT.w LUMA.w 2.200 * > OUTPUT.h LUMA.h 2.200 * > *
//!COMPONENTS 4
//!BIND MODEL1
//!BIND MODEL2
//!BIND MODEL3
//!BIND MODEL4
//!BIND MODEL5
//!BIND MODEL6
//!SAVE MODEL7
//!DESC [AiUpscale_HQ_Sharp_3x_LineArt] mapping 6_1

vec4 hook()
{
vec4 res = vec4(0.034383721649647,0.023279072716832,0.137572124600410,-0.252762287855148);
res += mat4(-0.159381791949272,0.101804777979851,0.143185719847679,0.077908754348755,0.082745395600796,0.192460522055626,-0.298924058675766,0.037698443979025,0.019705928862095,0.187616035342216,0.131780013442039,-0.002558708889410,-0.070743814110756,0.091854609549046,0.047663427889347,-0.029413338750601) * MODEL1_texOff(vec2(-1,-1));
res += mat4(0.218225181102753,0.136650025844574,-0.018595464527607,0.120915651321411,-0.250603437423706,-0.174769178032875,-0.311602562665939,-0.065184593200684,0.079578347504139,-0.164219975471497,0.228130042552948,0.397605180740356,0.336933046579361,0.071851700544357,0.122713036835194,-0.004818380344659) * MODEL1_texOff(vec2(-1,0));
res += mat4(-0.159510210156441,0.159049957990646,0.041662793606520,-0.025716604664922,-0.285768806934357,-0.185743838548660,0.035156741738319,-0.240137338638306,-0.123062983155251,-0.111288718879223,0.116426244378090,0.038634769618511,0.310900896787643,0.121697582304478,-0.095543943345547,0.061343759298325) * MODEL1_texOff(vec2(-1,1));
res += mat4(-0.077557288110256,0.032022170722485,0.064323656260967,-0.075209513306618,0.181683778762817,0.050725348293781,-0.187412977218628,0.066783651709557,0.136768192052841,0.140875354409218,-0.117668941617012,0.145037755370140,-0.454773634672165,0.350774317979813,0.026351783424616,0.043652012944221) * MODEL1_texOff(vec2(0,-1));
res += mat4(0.201940387487411,-0.042441882193089,0.025550065562129,0.105324640870094,-0.053872376680374,0.037035860121250,0.030986178666353,0.005678741261363,-0.035917386412621,0.046874739229679,-0.320767641067505,-0.123815253376961,0.474275350570679,0.022575549781322,0.075725935399532,-0.125293627381325) * MODEL1_texOff(vec2(0,0));
res += mat4(0.026225846260786,0.135398685932159,0.134576037526131,-0.163254842162132,-0.116911746561527,0.099796846508980,0.013234679587185,0.095302760601044,-0.096124105155468,-0.075201921164989,-0.119011178612709,-0.127642437815666,0.332461804151535,0.208460196852684,-0.024358399212360,0.072794951498508) * MODEL1_texOff(vec2(0,1));
res += mat4(0.056727036833763,0.025187250226736,0.095730215311050,0.099304631352425,0.113378889858723,-0.116231463849545,0.106913313269615,0.066546358168125,-0.078032396733761,0.115994177758694,-0.072802424430847,0.067851558327675,-0.206321939826012,0.144097685813904,-0.038355790078640,0.038531918078661) * MODEL1_texOff(vec2(1,-1));
res += mat4(-0.128311038017273,0.027411395683885,0.093515425920486,0.236996695399284,-0.306456059217453,0.128773167729378,0.042730651795864,-0.031539738178253,0.196158021688461,-0.307091742753983,0.191999435424805,0.104626357555389,0.140856862068176,-0.039098825305700,0.033472929149866,0.112951777875423) * MODEL1_texOff(vec2(1,0));
res += mat4(0.230966478586197,-0.124437674880028,0.081134371459484,-0.008469218388200,-0.318488329648972,-0.283778607845306,-0.107800677418709,0.010425318032503,0.103761121630669,0.030213549733162,0.086541607975960,-0.131282463669777,-0.010239445604384,0.013180713169277,0.083257079124451,0.162595242261887) * MODEL1_texOff(vec2(1,1));
res += mat4(-0.113655164837837,-0.183880671858788,0.030504001304507,0.076657176017761,0.195375770330429,0.019297473132610,-0.038714457303286,0.125949725508690,0.165452867746353,0.030240399762988,0.041136350482702,-0.158338427543640,0.101365692913532,0.073229163885117,-0.030769061297178,-0.249186500906944) * MODEL2_texOff(vec2(-1,-1));
res += mat4(-0.236614659428596,0.195392534136772,0.042733374983072,-0.051854852586985,-0.128313049674034,-0.448266267776489,-0.085597418248653,0.014854769222438,0.110361084342003,0.107272185385227,0.004410014953464,-0.230913504958153,0.084756776690483,-0.178720876574516,-0.193450540304184,-0.278383523225784) * MODEL2_texOff(vec2(-1,0));
res += mat4(0.183000236749649,-0.150127619504929,-0.008599027059972,0.053016517311335,-0.002266423776746,0.130745738744736,0.055508736521006,0.028281453996897,0.105701923370361,-0.033207107335329,-0.064117856323719,-0.133312821388245,0.036017976701260,-0.085037820041180,0.014448322355747,-0.153693675994873) * MODEL2_texOff(vec2(-1,1));
res += mat4(0.334710061550140,-0.190907269716263,0.193900629878044,-0.010664183646441,0.106004744768143,0.105421774089336,-0.098159544169903,0.064367800951004,0.184858128428459,0.130053296685219,0.188337966799736,-0.021377140656114,0.273931205272675,0.088089339435101,0.058547876775265,0.140524312853813) * MODEL2_texOff(vec2(0,-1));
res += mat4(-0.437964081764221,0.011205994524062,0.181618854403496,0.007911602966487,0.090419404208660,-0.548368692398071,-0.007826918736100,0.153302207589149,0.375222206115723,-0.036618325859308,0.084745362401009,0.126310020685196,-0.141460105776787,-0.145460888743401,-0.138197571039200,0.190597251057625) * MODEL2_texOff(vec2(0,0));
res += mat4(-0.002740006893873,-0.302930504083633,0.094434991478920,0.100558511912823,-0.115192562341690,0.123398296535015,0.055716782808304,-0.183204561471939,0.060555182397366,0.017290804535151,0.074224501848221,0.094647593796253,-0.204344615340233,-0.406029939651489,-0.028098504990339,-0.106082499027252) * MODEL2_texOff(vec2(0,1));
res += mat4(0.222655400633812,-0.042698524892330,0.210772350430489,-0.020557135343552,0.153425365686417,0.029632840305567,0.087812222540379,0.074026040732861,0.149796366691589,0.182722598314285,0.118832081556320,-0.031614761799574,0.037373438477516,-0.029494155198336,0.096007868647575,-0.087747238576412) * MODEL2_texOff(vec2(1,-1));
res += mat4(0.017356207594275,0.060095299035311,0.113052636384964,-0.052309069782495,-0.116950549185276,-0.080382205545902,-0.085594624280930,-0.045723751187325,-0.189877361059189,0.089088551700115,-0.088919632136822,0.012900406494737,-0.059457931667566,0.117480464279652,-0.053134508430958,0.055731639266014) * MODEL2_texOff(vec2(1,0));
res += mat4(-0.010237136855721,-0.229340851306915,0.139958769083023,0.046489071100950,0.238866508007050,0.145758807659149,0.172938928008080,-0.062575936317444,-0.113674715161324,-0.223390012979507,0.028045419603586,-0.007468472700566,0.094001136720181,-0.029628627002239,-0.082549504935741,-0.073889516294003) * MODEL2_texOff(vec2(1,1));
res += mat4(-0.031124293804169,-0.034161914139986,-0.068249613046646,-0.041965782642365,0.012345601804554,0.048371881246567,-0.108765408396721,0.057235997170210,-0.058651637285948,0.278902679681778,0.089607901871204,-0.316143274307251,-0.047872111201286,-0.026570390909910,0.146382659673691,0.098906457424164) * MODEL3_texOff(vec2(-1,-1));
res += mat4(-0.187909960746765,0.030219174921513,-0.233829185366631,-0.020144207403064,-0.078688979148865,0.268885612487793,-0.138086959719658,-0.046538613736629,0.328941494226456,0.157191962003708,0.027323866263032,0.066488437354565,0.145613655447960,0.080957718193531,-0.004630680195987,-0.134048223495483) * MODEL3_texOff(vec2(-1,0));
res += mat4(-0.015506908297539,-0.043385982513428,-0.066347703337669,-0.029884180054069,0.133036479353905,-0.171415641903877,0.037529483437538,0.009787640534341,-0.004026741720736,0.087856151163578,-0.073727019131184,-0.210793957114220,-0.164970129728317,0.073174491524696,-0.176573932170868,-0.082278601825237) * MODEL3_texOff(vec2(-1,1));
res += mat4(0.063985779881477,-0.015115635469556,-0.173220410943031,-0.036691740155220,-0.046035226434469,-0.039277877658606,-0.079406842589378,0.048887431621552,0.118865124881268,0.013540247455239,-0.006009316071868,-0.154354140162468,-0.035504575818777,-0.216895878314972,-0.075247533619404,-0.125545918941498) * MODEL3_texOff(vec2(0,-1));
res += mat4(-0.333954304456711,0.259803771972656,-0.444330275058746,-0.393165290355682,-0.150317341089249,0.225349172949791,0.104342862963676,-0.082052215933800,0.171327561140060,-0.038942635059357,-0.062430836260319,0.044268757104874,-0.072816379368305,0.186275899410248,-0.037029009312391,-0.116838335990906) * MODEL3_texOff(vec2(0,0));
res += mat4(-0.108994059264660,-0.229143634438515,0.128302618861198,-0.254675924777985,-0.250311672687531,-0.406211823225021,0.154106974601746,-0.200708657503128,-0.073069900274277,0.227502852678299,0.144332066178322,-0.165030553936958,0.040744464844465,0.140438124537468,-0.171106860041618,-0.099908873438835) * MODEL3_texOff(vec2(0,1));
res += mat4(-0.003464719979092,-0.071470879018307,-0.117950201034546,0.007250157184899,0.093028917908669,-0.012555933557451,0.030212316662073,0.027952317148447,0.072033740580082,-0.043458286672831,-0.218730151653290,-0.043262917548418,0.054732520133257,0.069649547338486,-0.047142334282398,-0.078202150762081) * MODEL3_texOff(vec2(1,-1));
res += mat4(0.261399775743484,-0.133465781807899,-0.263158291578293,0.100356169044971,-0.002211180515587,-0.014075583778322,0.158829525113106,-0.031894195824862,-0.065046362578869,0.148480296134949,-0.170291274785995,-0.140256509184837,0.048048511147499,0.050160158425570,-0.232278674840927,0.002674100920558) * MODEL3_texOff(vec2(1,0));
res += mat4(-0.059220675379038,0.132817223668098,0.048820193856955,0.046653237193823,0.028300035744905,0.033792916685343,0.011234222911298,-0.033338177949190,-0.269398570060730,0.210196569561958,0.026841200888157,-0.033213805407286,-0.005754426587373,0.095986723899841,-0.080463059246540,-0.032931312918663) * MODEL3_texOff(vec2(1,1));
res += mat4(0.003341888543218,-0.067525528371334,-0.009913572110236,-0.088965244591236,0.070238657295704,0.006535012740642,0.166806027293205,-0.034571345895529,-0.137399926781654,0.097964279353619,0.076407440006733,0.053406190127134,0.024488756433129,-0.019674153998494,-0.031473714858294,0.091017320752144) * MODEL4_texOff(vec2(-1,-1));
res += mat4(-0.127111092209816,0.257386773824692,0.184576809406281,-0.352015852928162,-0.035699922591448,0.113437779247761,0.078763172030449,-0.015696629881859,0.241520762443542,-0.148886293172836,0.139702722430229,0.242368668317795,-0.017512993887067,0.058796871453524,-0.050574820488691,-0.246529504656792) * MODEL4_texOff(vec2(-1,0));
res += mat4(0.232045859098434,0.034935493022203,-0.233742371201515,-0.170605584979057,0.060230817645788,0.052755828946829,0.133572161197662,-0.070712685585022,-0.082667276263237,0.214362800121307,0.027276201173663,0.102874405682087,-0.085776664316654,-0.033848624676466,0.181886240839958,0.234895050525665) * MODEL4_texOff(vec2(-1,1));
res += mat4(0.225362032651901,-0.094730131328106,0.170908078551292,-0.036706857383251,0.237841039896011,-0.246564075350761,0.095018103718758,-0.097935989499092,-0.207330793142319,0.138844937086105,0.089587338268757,0.063546426594257,0.020579732954502,-0.099878497421741,-0.065278209745884,0.099817551672459) * MODEL4_texOff(vec2(0,-1));
res += mat4(0.042679842561483,0.214407086372375,0.236731410026550,0.091093443334103,0.225063264369965,-0.125266760587692,0.203833863139153,0.014757253229618,0.122181475162506,-0.056284245103598,-0.238504484295845,-0.156479820609093,0.016072042286396,0.126834228634834,-0.249363049864769,-0.132488697767258) * MODEL4_texOff(vec2(0,0));
res += mat4(0.032851979136467,0.134700223803520,0.171130463480949,0.048352953046560,0.163257047533989,0.197086974978447,-0.008048830553889,0.191103905439377,0.046942822635174,-0.028351401910186,-0.002171278931201,-0.053136933594942,0.093968227505684,-0.042097400873899,0.194800734519958,0.310674458742142) * MODEL4_texOff(vec2(0,1));
res += mat4(0.240412756800652,-0.166255623102188,-0.050776701420546,-0.067406773567200,0.125890254974365,-0.039913397282362,0.033786501735449,0.066228277981281,0.146423876285553,-0.157449468970299,0.061682641506195,0.006948139052838,0.048166371881962,0.004500383976847,-0.018291618674994,0.006181313656271) * MODEL4_texOff(vec2(1,-1));
res += mat4(-0.058989830315113,0.235403448343277,-0.119883254170418,-0.212645769119263,-0.163089081645012,0.069965153932571,0.105352267622948,0.035376835614443,0.121301248669624,-0.036692388355732,-0.144852444529533,0.009260366670787,-0.094103626906872,-0.009404803626239,0.153308615088463,-0.083000957965851) * MODEL4_texOff(vec2(1,0));
res += mat4(0.249397099018097,0.173393264412880,0.031689867377281,-0.270429670810699,-0.124487146735191,-0.036571186035872,0.020347572863102,0.005008452571929,-0.320600479841232,-0.255250841379166,-0.013292330317199,-0.037443779408932,0.132704377174377,-0.134778529405594,0.152072042226791,0.014291279949248) * MODEL4_texOff(vec2(1,1));
res += mat4(-0.006095966324210,0.012967749498785,0.004738512914628,-0.046587940305471,-0.033224340528250,0.009883927181363,-0.011647392995656,0.133030802011490,-0.022392086684704,-0.104817859828472,0.009721712209284,-0.111095957458019,0.056107975542545,-0.147892966866493,0.069964259862900,-0.051077317446470) * MODEL5_texOff(vec2(-1,-1));
res += mat4(0.025338264182210,0.043055877089500,-0.030206106603146,0.001974555896595,-0.034799382090569,-0.066320590674877,0.202101588249207,0.175244793295860,-0.273224592208862,-0.074038170278072,-0.079971477389336,0.033989831805229,-0.087013795971870,0.013698032125831,-0.046120837330818,-0.328853726387024) * MODEL5_texOff(vec2(-1,0));
res += mat4(0.160278066992760,-0.204962745308876,0.090347193181515,0.115140981972218,-0.133442133665085,0.024033332243562,0.203872993588448,0.026740077883005,-0.064922161400318,-0.208049595355988,-0.038790978491306,-0.042812906205654,-0.033045127987862,-0.006455013994128,0.056843046098948,0.061409384012222) * MODEL5_texOff(vec2(-1,1));
res += mat4(-0.001805046922527,-0.196425333619118,0.104173570871353,0.148824915289879,0.193852752447128,-0.269137084484100,-0.002460827818140,-0.125609815120697,-0.093480527400970,0.041390556842089,-0.005894703790545,0.205914735794067,0.160223022103310,-0.038407593965530,0.240020871162415,-0.068000338971615) * MODEL5_texOff(vec2(0,-1));
res += mat4(-0.318873643875122,-0.023444373160601,0.004428819287568,0.057372942566872,-0.390424430370331,0.308980941772461,-0.151501670479774,-0.229721978306770,-0.135407745838165,-0.232441961765289,0.110177114605904,-0.032951842993498,-0.338508307933807,0.324708342552185,0.147831782698631,0.088060751557350) * MODEL5_texOff(vec2(0,0));
res += mat4(-0.133195802569389,0.019195219501853,0.093857750296593,0.051623094826937,-0.024742508307099,-0.140205323696136,-0.022963896393776,-0.028806375339627,-0.228793352842331,-0.430560529232025,-0.262474000453949,-0.046369329094887,-0.233765244483948,-0.105836272239685,-0.002793241757900,0.039677157998085) * MODEL5_texOff(vec2(0,1));
res += mat4(-0.056434415280819,0.043957144021988,0.001017517410219,0.077346377074718,0.050847034901381,-0.018753347918391,-0.048083141446114,0.112565137445927,-0.173916742205620,0.220561757683754,-0.161101132631302,0.064843297004700,0.059112235903740,-0.071349732577801,-0.197220146656036,-0.099747531116009) * MODEL5_texOff(vec2(1,-1));
res += mat4(0.112166158854961,0.135213419795036,0.048404261469841,0.099328748881817,-0.065995506942272,0.026387089863420,0.085837684571743,-0.063117370009422,0.008669826202095,-0.122513338923454,-0.131667479872704,0.103745512664318,0.086537010967731,0.055961709469557,-0.051166053861380,-0.060911376029253) * MODEL5_texOff(vec2(1,0));
res += mat4(-0.027424840256572,-0.018777918070555,0.074337638914585,0.077302202582359,0.092354334890842,-0.264579385519028,-0.148605883121490,-0.104825466871262,-0.004959281999618,-0.263616919517517,0.024082524701953,0.028473971411586,0.141785278916359,-0.073404602706432,0.209841877222061,-0.032849162817001) * MODEL5_texOff(vec2(1,1));
res += mat4(0.040227100253105,-0.018099276348948,0.051951657980680,0.108314417302608,-0.055489126592875,0.090095594525337,-0.123066149652004,0.045982144773006,0.011573918163776,-0.042803507298231,-0.057204697281122,0.078455224633217,-0.091969646513462,0.109481848776340,-0.001840238575824,0.081937886774540) * MODEL6_texOff(vec2(-1,-1));
res += mat4(0.078096352517605,0.116741865873337,0.150618925690651,0.276148200035095,0.120581656694412,-0.022265175357461,0.146024286746979,0.051902554929256,-0.043187059462070,0.068103283643723,0.159039631485939,-0.073734112083912,0.067217610776424,0.110685832798481,0.170224279165268,0.137478932738304) * MODEL6_texOff(vec2(-1,0));
res += mat4(0.009563001804054,0.089988820254803,0.112175516784191,0.158854097127914,-0.178722396492958,-0.369114935398102,0.026995966210961,0.013192513957620,0.027857154607773,0.204436108469963,-0.030687212944031,0.076027534902096,-0.016631862148643,0.068723797798157,0.037798583507538,0.142690017819405) * MODEL6_texOff(vec2(-1,1));
res += mat4(0.149276480078697,-0.120089307427406,0.002554318867624,-0.194727733731270,-0.069947920739651,0.114153079688549,-0.089058652520180,0.123091243207455,-0.083758220076561,-0.013652816414833,0.022307626903057,-0.102451339364052,-0.196564972400665,0.259530007839203,-0.075148351490498,0.168066352605820) * MODEL6_texOff(vec2(0,-1));
res += mat4(0.110188730061054,0.009952583350241,-0.001801519887522,0.202718734741211,0.430658996105194,-0.294692575931549,-0.059153567999601,0.145026832818985,-0.210730776190758,-0.384616464376450,0.389811754226685,0.101141743361950,0.155125498771667,-0.227210462093353,0.088441543281078,0.305820494890213) * MODEL6_texOff(vec2(0,0));
res += mat4(0.110672511160374,-0.042879462242126,0.157745346426964,-0.031952712684870,-0.161069512367249,-0.449650377035141,0.009674338623881,-0.010638726875186,0.086030490696430,0.179154157638550,-0.221354827284813,-0.036028914153576,-0.395472317934036,0.092389874160290,-0.130688682198524,0.028703238815069) * MODEL6_texOff(vec2(0,1));
res += mat4(-0.058398645371199,0.024750232696533,0.031003052368760,-0.255421221256256,0.034355282783508,-0.064212173223495,-0.062036745250225,-0.102630473673344,0.030882490798831,0.196674525737762,-0.009865391068161,0.105494752526283,0.086489111185074,0.086291104555130,-0.025650057941675,0.051098238676786) * MODEL6_texOff(vec2(1,-1));
res += mat4(0.335778206586838,0.005639091599733,0.027939112856984,-0.029212076216936,0.103127717971802,0.151779517531395,-0.176001906394958,-0.148594543337822,-0.027710020542145,0.099271491169930,0.009528148919344,-0.106510423123837,0.012621085159481,0.000307150243316,-0.010212870314717,0.042245112359524) * MODEL6_texOff(vec2(1,0));
res += mat4(0.182187631726265,0.214436590671539,-0.018128283321857,-0.034278921782970,0.096648521721363,0.160633444786072,-0.020186893641949,-0.110129520297050,-0.003743732580915,-0.167414039373398,-0.191907018423080,-0.189060539007187,-0.097981683909893,-0.259625464677811,0.087598226964474,0.033936940133572) * MODEL6_texOff(vec2(1,1));
res = max(res, vec4(0.0)) + vec4(0.071482174098492,-0.153981357812881,0.141858905553818,0.242764458060265) * min(res, vec4(0.0));
return res;
}

//!HOOK LUMA
//!WHEN OUTPUT.w LUMA.w 2.200 * > OUTPUT.h LUMA.h 2.200 * > *
//!COMPONENTS 4
//!BIND MODEL1
//!BIND MODEL2
//!BIND MODEL3
//!BIND MODEL4
//!BIND MODEL5
//!BIND MODEL6
//!SAVE MODEL8
//!DESC [AiUpscale_HQ_Sharp_3x_LineArt] mapping 6_2

vec4 hook()
{
vec4 res = vec4(-0.023445164784789,-0.016252348199487,0.016937179490924,-0.416530758142471);
res += mat4(0.154881402850151,-0.037566907703876,-0.081530727446079,-0.113725349307060,-0.055268518626690,-0.218307629227638,-0.177487909793854,-0.070953033864498,-0.063573114573956,-0.123014308512211,0.107683196663857,0.036542441695929,-0.152031183242798,0.059481434524059,0.001411865232512,0.052155416458845) * MODEL1_texOff(vec2(-1,-1));
res += mat4(-0.082582719624043,-0.055277295410633,-0.014226223342121,-0.074435785412788,0.146388426423073,-0.064374856650829,0.097108170390129,0.002185825491324,0.033788133412600,-0.201439231634140,-0.095105275511742,0.149810254573822,-0.022706963121891,0.030421881005168,-0.050791911780834,-0.038859851658344) * MODEL1_texOff(vec2(-1,0));
res += mat4(-0.208756849169731,-0.005821826402098,-0.026300609111786,-0.254735380411148,-0.261444687843323,0.053414121270180,0.163660615682602,-0.095384269952774,0.076130680739880,0.090793579816818,0.041669815778732,-0.109500937163830,0.169985488057137,0.052453201264143,0.089046381413937,0.041804596781731) * MODEL1_texOff(vec2(-1,1));
res += mat4(0.081681326031685,0.113386407494545,-0.030868075788021,-0.188489392399788,0.159182488918304,0.143783852458000,0.191132187843323,-0.048633098602295,-0.057811215519905,0.042196471244097,0.092590004205704,0.036329269409180,-0.121112033724785,0.005679183173925,-0.071001961827278,0.029110198840499) * MODEL1_texOff(vec2(0,-1));
res += mat4(-0.086495526134968,-0.054915085434914,-0.067184261977673,-0.246568128466606,-0.091087967157364,0.006264285184443,0.208444803953171,-0.001328572165221,0.176845803856850,-0.126587465405464,0.069061808288097,-0.147028967738152,-0.102565653622150,-0.099612824618816,0.009627639316022,0.341404587030411) * MODEL1_texOff(vec2(0,0));
res += mat4(-0.182705551385880,0.030126767233014,-0.082209497690201,-0.258435308933258,0.208732187747955,-0.203720316290855,-0.321941047906876,0.080811969935894,0.232551351189613,0.021214956417680,-0.017058460041881,-0.035998072475195,-0.015462399460375,-0.015318348072469,0.030974468216300,0.164889886975288) * MODEL1_texOff(vec2(0,1));
res += mat4(0.099069915711880,0.083589337766171,-0.062655583024025,0.182507976889610,-0.008736097253859,0.078457802534103,-0.104472547769547,0.030259845778346,0.012707648798823,0.015971176326275,0.049168515950441,-0.012690612114966,0.112168870866299,0.079645924270153,-0.011030011810362,-0.094217143952847) * MODEL1_texOff(vec2(1,-1));
res += mat4(0.045547842979431,0.192070066928864,-0.055063404142857,0.323852837085724,0.170846730470657,0.336922168731689,-0.284603118896484,0.015153864398599,-0.345241039991379,0.124948091804981,0.276059716939926,0.111665904521942,-0.083667308092117,0.123424664139748,0.276616543531418,-0.035329394042492) * MODEL1_texOff(vec2(1,0));
res += mat4(-0.077338531613350,-0.000630242750049,0.066506139934063,-0.110648080706596,0.170167073607445,0.137251079082489,-0.143227800726891,0.216898828744888,-0.094871491193771,-0.153688266873360,0.211313456296921,-0.029740436002612,-0.013065799139440,0.091534540057182,0.146106868982315,0.116101585328579) * MODEL1_texOff(vec2(1,1));
res += mat4(0.303676545619965,0.085969008505344,0.026299029588699,-0.052199713885784,-0.114600367844105,0.000470929167932,-0.012042880058289,0.249289035797119,0.167900428175926,0.062639355659485,0.205151379108429,0.149377301335335,-0.256055384874344,-0.035798788070679,0.225126117467880,-0.066026628017426) * MODEL2_texOff(vec2(-1,-1));
res += mat4(-0.448271661996841,0.019251074641943,0.096483722329140,-0.135266259312630,-0.138843446969986,-0.020730476826429,-0.115492708981037,0.129587024450302,0.138753741979599,0.070580109953880,0.332485556602478,0.027536083012819,-0.281844943761826,0.003126841736957,0.237206622958183,-0.024412401020527) * MODEL2_texOff(vec2(-1,0));
res += mat4(0.208411574363708,0.049825891852379,-0.088565468788147,0.028495073318481,0.131650954484940,-0.020050907507539,-0.156851574778557,-0.040574889630079,-0.042620554566383,-0.019531516358256,-0.057281788438559,0.050707988440990,-0.078832894563675,-0.105415955185890,-0.000216304630158,0.057685416191816) * MODEL2_texOff(vec2(-1,1));
res += mat4(-0.041208609938622,0.097162902355194,0.135330229997635,0.134008780121803,0.102555669844151,-0.031337317079306,0.002031683688983,0.091397270560265,-0.148539379239082,-0.079433925449848,0.141035526990891,0.083626300096512,0.082360595464706,-0.084944292902946,0.211713954806328,0.050857782363892) * MODEL2_texOff(vec2(0,-1));
res += mat4(-0.133072435855865,-0.116832733154297,-0.271510690450668,-0.130003049969673,0.170235291123390,-0.055903483182192,0.011335540562868,-0.079244308173656,0.137238472700119,-0.070122361183167,-0.017286324873567,0.246229439973831,-0.167731344699860,-0.081571921706200,-0.144620701670647,0.235800340771675) * MODEL2_texOff(vec2(0,0));
res += mat4(-0.190657272934914,-0.005147230345756,0.144012957811356,-0.275178402662277,0.287039697170258,-0.143693849444389,0.213959828019142,-0.083840206265450,-0.101191118359566,-0.087821111083031,-0.007041079457849,0.124962456524372,-0.170301586389542,-0.024273633956909,-0.063724018633366,0.104097895324230) * MODEL2_texOff(vec2(0,1));
res += mat4(-0.171221777796745,0.021252099424601,-0.167242437601089,0.260748505592346,0.108690418303013,-0.063427537679672,-0.231421649456024,-0.023908393457532,0.075406827032566,-0.153522193431854,0.040814727544785,-0.106902159750462,0.050852581858635,-0.030890077352524,0.003093267325312,0.030406275764108) * MODEL2_texOff(vec2(1,-1));
res += mat4(-0.080220066010952,0.102416485548019,-0.107664570212364,0.288714677095413,-0.009405976161361,-0.074440225958824,-0.067210301756859,-0.023054119199514,0.128941118717194,-0.050650425255299,0.124929629266262,-0.043351519852877,0.131805986166000,0.014185247942805,-0.129205971956253,0.066813133656979) * MODEL2_texOff(vec2(1,0));
res += mat4(0.004121809732169,0.051101464778185,0.113962113857269,0.011815499514341,-0.107833400368690,-0.159394949674606,0.100655682384968,-0.034914128482342,-0.014293653890491,-0.041558720171452,-0.125239491462708,0.074205301702023,-0.121929727494717,-0.025947112590075,-0.035952392965555,-0.001169229275547) * MODEL2_texOff(vec2(1,1));
res += mat4(0.010933185927570,0.015689320862293,0.002524738432840,-0.151922613382339,0.125016450881958,0.032099209725857,-0.042018119245768,0.191498443484306,0.266524046659470,0.198447778820992,0.317797273397446,0.063592635095119,0.066514514386654,0.004682567436248,-0.062601618468761,-0.053174685686827) * MODEL3_texOff(vec2(-1,-1));
res += mat4(0.089610092341900,0.088185936212540,-0.042925156652927,-0.383594393730164,0.076734215021133,0.020708905532956,-0.012273185886443,0.044317431747913,0.160306870937347,0.112165808677673,0.208092883229256,0.234641015529633,-0.191435948014259,-0.015969322994351,-0.132626384496689,0.094430699944496) * MODEL3_texOff(vec2(-1,0));
res += mat4(-0.005881456192583,-0.018715603277087,-0.209826916456223,-0.162995442748070,0.013362696394324,0.034115321934223,-0.049082010984421,0.002523383358493,0.036573663353920,0.093879900872707,0.078481905162334,0.015946319326758,0.091690860688686,0.006359938532114,0.033347595483065,0.156401485204697) * MODEL3_texOff(vec2(-1,1));
res += mat4(-0.035892095416784,-0.039780482649803,-0.033292330801487,0.094610966742039,0.072933740913868,-0.073349267244339,-0.087084516882896,-0.052820809185505,0.053952820599079,0.446853309869766,0.221471875905991,0.024528536945581,-0.011784229427576,-0.103094436228275,0.082376778125763,-0.508481740951538) * MODEL3_texOff(vec2(0,-1));
res += mat4(0.413645267486572,-0.214358627796173,-0.495402663946152,0.463527679443359,-0.080481007695198,-0.248113691806793,0.045845210552216,0.159145832061768,0.212056651711464,-0.027651656419039,0.055320527404547,0.129792913794518,-0.026669865474105,-0.001814208459109,0.178626939654350,0.109377026557922) * MODEL3_texOff(vec2(0,0));
res += mat4(0.255574434995651,-0.079624891281128,0.043164376169443,-0.208452448248863,-0.356951802968979,-0.054084416478872,0.126226857304573,-0.114388152956963,-0.011036529205739,0.044654432684183,0.089116893708706,-0.105656228959560,0.017081586644053,-0.029931399971247,-0.128472104668617,0.084605224430561) * MODEL3_texOff(vec2(0,1));
res += mat4(-0.052076540887356,-0.039408583194017,0.076250530779362,-0.127036809921265,0.023727821186185,-0.061214260756969,0.016129629686475,0.091484576463699,0.072182886302471,0.041913941502571,-0.064141549170017,-0.009310588240623,-0.073011822998524,0.000744685414247,-0.020147433504462,-0.132082343101501) * MODEL3_texOff(vec2(1,-1));
res += mat4(-0.359555155038834,-0.010304895229638,0.086568810045719,-0.169605806469917,0.323763877153397,0.202847853302956,-0.200975745916367,0.266751825809479,0.359654456377029,-0.077094398438931,0.182125613093376,-0.100327916443348,0.052001859992743,-0.023678256198764,0.057918019592762,0.067562535405159) * MODEL3_texOff(vec2(1,0));
res += mat4(0.135812133550644,-0.042546123266220,0.058501485735178,-0.046156186610460,0.092138662934303,0.010821637697518,0.041865736246109,-0.141922011971474,0.109911635518074,-0.164675369858742,-0.114899709820747,0.006984903011471,0.011735127307475,-0.023010438308120,0.089626111090183,0.045360334217548) * MODEL3_texOff(vec2(1,1));
res += mat4(0.080081641674042,0.072359904646873,0.019865451380610,-0.035797223448753,-0.069393426179886,-0.023951539769769,-0.064649693667889,0.137423142790794,-0.106848880648613,-0.117995724081993,-0.010568477213383,-0.020026011392474,-0.012608177028596,0.094620086252689,-0.010386169888079,-0.068174205720425) * MODEL4_texOff(vec2(-1,-1));
res += mat4(-0.086862131953239,0.163596823811531,0.230001062154770,-0.201750829815865,0.187419310212135,0.054825779050589,0.167182445526123,0.083001293241978,0.033498741686344,-0.152022853493690,-0.411460101604462,0.007316732313484,-0.111555643379688,0.074928343296051,0.036462426185608,-0.051260389387608) * MODEL4_texOff(vec2(-1,0));
res += mat4(0.020775973796844,0.120754234492779,-0.027538036927581,0.069059871137142,-0.034045495092869,-0.007050978485495,0.128034546971321,0.067042805254459,0.051645591855049,-0.004552538972348,-0.128467828035355,-0.112599879503250,-0.029609369114041,0.031100634485483,-0.035297241061926,-0.053862545639277) * MODEL4_texOff(vec2(-1,1));
res += mat4(0.157944515347481,-0.030810495838523,0.031885415315628,0.051384087651968,0.201019510626793,-0.142209172248840,0.053637396544218,-0.220309227705002,0.361545741558075,0.096555709838867,0.046466145664454,0.077039919793606,-0.052985828369856,-0.056425407528877,-0.010660786181688,-0.085439682006836) * MODEL4_texOff(vec2(0,-1));
res += mat4(0.006302142981440,0.045454531908035,-0.045454129576683,0.047974281013012,0.037270624190569,0.111075997352600,0.202860787510872,-0.222595825791359,-0.502629399299622,0.051682818681002,0.218008071184158,-0.051432762295008,0.164678573608398,-0.078230507671833,-0.171046435832977,-0.192499771714211) * MODEL4_texOff(vec2(0,0));
res += mat4(0.017668090760708,0.007076266687363,-0.113184399902821,0.266982913017273,0.010548390448093,-0.034241613000631,-0.006021037232131,0.050818800926208,-0.019160069525242,0.061392072588205,0.058316584676504,-0.036857370287180,-0.000593255623244,0.050083938986063,0.043293334543705,-0.177079111337662) * MODEL4_texOff(vec2(0,1));
res += mat4(0.055368509143591,-0.147582113742828,0.110114134848118,0.061052028089762,-0.009166000410914,-0.067822128534317,-0.088987313210964,-0.136235237121582,0.046272963285446,0.087169602513313,0.034909658133984,0.059632401913404,-0.032317601144314,-0.066275462508202,-0.034698244184256,-0.025979675352573) * MODEL4_texOff(vec2(1,-1));
res += mat4(0.153707519173622,-0.273619413375854,-0.070826083421707,-0.151918023824692,0.162463575601578,0.028313798829913,-0.258041530847549,-0.180067837238312,-0.093942105770111,-0.136394247412682,-0.277268141508102,0.078426793217659,0.032074537128210,-0.032401230186224,0.189008682966232,-0.082992285490036) * MODEL4_texOff(vec2(1,0));
res += mat4(0.119161374866962,-0.096446961164474,0.054250441491604,0.058862548321486,-0.082196496427059,0.036210961639881,0.115432277321815,-0.042704828083515,-0.022516226395965,0.079405151307583,-0.015658957883716,0.043582256883383,0.020250927656889,0.003683944931254,-0.082449927926064,-0.039063412696123) * MODEL4_texOff(vec2(1,1));
res += mat4(-0.026181736961007,-0.013110089115798,-0.095087364315987,0.041643530130386,-0.012584054842591,-0.006249631289393,-0.105097092688084,-0.011610344983637,0.018650358542800,0.099633909761906,0.082039304077625,-0.112444192171097,0.074100106954575,0.105435788631439,-0.002487973310053,-0.070345230400562) * MODEL5_texOff(vec2(-1,-1));
res += mat4(-0.047235760837793,0.097982227802277,0.027411438524723,-0.016262348741293,0.133824095129967,-0.078778296709061,0.031026354059577,0.082358941435814,-0.218562901020050,-0.052206549793482,0.009458905085921,-0.071999952197075,-0.162836223840714,0.129497721791267,0.250683426856995,-0.044100277125835) * MODEL5_texOff(vec2(-1,0));
res += mat4(-0.091810956597328,-0.031638134270906,0.101217128336430,0.006040174979717,-0.354164779186249,-0.051186598837376,0.159250333905220,0.030919052660465,-0.051326848566532,-0.092506512999535,-0.117159351706505,0.009126230143011,-0.019640091806650,-0.062764592468739,-0.005836251657456,0.073443584144115) * MODEL5_texOff(vec2(-1,1));
res += mat4(-0.230482712388039,0.065472878515720,0.250268965959549,0.114651985466480,0.020971877500415,-0.006222383119166,-0.015152636915445,-0.019409751519561,-0.140668898820877,-0.218860879540443,-0.009894778952003,0.052486058324575,-0.166317358613014,-0.093098945915699,-0.072119504213333,0.071990586817265) * MODEL5_texOff(vec2(0,-1));
res += mat4(0.102883420884609,-0.132540032267570,-0.065057493746281,-0.136086225509644,0.099373020231724,0.104461014270782,-0.012385249137878,-0.266743838787079,-0.185794651508331,-0.008309603668749,0.085687108337879,0.145103052258492,-0.167221039533615,-0.009743798524141,0.233323022723198,-0.179742336273193) * MODEL5_texOff(vec2(0,0));
res += mat4(-0.036630038172007,0.059424865990877,0.046153824776411,-0.109951198101044,0.272823065519333,0.005749162752181,-0.060900833457708,0.051883459091187,-0.212062463164330,0.152308717370033,0.062501139938831,0.149863779544830,0.200868204236031,-0.088769219815731,0.215753182768822,-0.020339386537671) * MODEL5_texOff(vec2(0,1));
res += mat4(0.108795665204525,0.190006822347641,-0.223450779914856,-0.320847541093826,-0.229179948568344,0.039815828204155,-0.113957963883877,0.099724300205708,0.141659736633301,-0.011953984387219,0.130524709820747,-0.071684055030346,-0.132689356803894,0.016113925725222,-0.005359748378396,-0.113042339682579) * MODEL5_texOff(vec2(1,-1));
res += mat4(-0.002687494503334,-0.056541163474321,-0.009639208205044,-0.035499792546034,-0.107244275510311,0.242171585559845,0.179043844342232,-0.040342278778553,-0.055180359631777,0.037288974970579,-0.211568206548691,0.046515844762325,0.035039294511080,-0.230406448245049,-0.210119158029556,0.056779455393553) * MODEL5_texOff(vec2(1,0));
res += mat4(0.045563440769911,-0.020088661462069,0.022873485460877,-0.060564115643501,-0.026954371482134,-0.039202339947224,0.092057853937149,0.112116783857346,-0.058248970657587,-0.014700232073665,-0.132534876465797,0.039988376200199,-0.201163560152054,0.048254992812872,0.181368291378021,-0.073578961193562) * MODEL5_texOff(vec2(1,1));
res += mat4(0.065464548766613,0.070867985486984,-0.109033405780792,0.005842217244208,-0.056706015020609,0.009945777244866,0.017059220001101,0.018729016184807,-0.124560669064522,-0.086753495037556,-0.117538996040821,0.048150904476643,-0.133238151669502,-0.019255811348557,0.013212928548455,-0.042224042117596) * MODEL6_texOff(vec2(-1,-1));
res += mat4(0.177725404500961,0.010391096584499,-0.000306134112179,0.118631914258003,-0.151007682085037,-0.087217643857002,0.076513096690178,-0.094064064323902,-0.245303198695183,-0.034972023218870,0.005285772960633,0.086034297943115,-0.094460532069206,0.013913679867983,0.056736133992672,-0.121084250509739) * MODEL6_texOff(vec2(-1,0));
res += mat4(0.123704262077808,0.008344260044396,-0.215743929147720,-0.006384402513504,0.167024940252304,0.003255886258557,-0.127990752458572,0.032738648355007,-0.154767274856567,-0.063721761107445,0.017838463187218,0.133578926324844,0.110516190528870,0.032072372734547,0.065593205392361,-0.051833160221577) * MODEL6_texOff(vec2(-1,1));
res += mat4(-0.050919137895107,0.087392762303352,0.087179660797119,0.129857629537582,-0.047036763280630,-0.002065309789032,0.128070816397667,-0.143211051821709,-0.048272255808115,0.140212550759315,-0.048576693981886,0.156700059771538,-0.003682808484882,0.255516439676285,0.075774714350700,0.074483118951321) * MODEL6_texOff(vec2(0,-1));
res += mat4(0.422339320182800,0.117030166089535,-0.026847042143345,0.099805228412151,-0.428722172975540,0.126235738396645,-0.094692550599575,0.091938398778439,0.112393029034138,0.211802780628204,0.005172018893063,-0.170415773987770,-0.402775138616562,0.323181539773941,0.059404440224171,-0.017195247113705) * MODEL6_texOff(vec2(0,0));
res += mat4(0.000805754796602,0.037775423377752,-0.097615286707878,-0.101483292877674,-0.008076287806034,-0.057409014552832,0.097500003874302,-0.070055894553661,0.073614291846752,-0.022540086880326,-0.001488412846811,0.171063914895058,0.149726897478104,-0.005808617919683,-0.036468125879765,0.189446881413460) * MODEL6_texOff(vec2(0,1));
res += mat4(-0.036252032965422,-0.101787857711315,0.006982163991779,0.083062604069710,0.115809492766857,-0.029306977987289,0.099915415048599,-0.028609815984964,0.117167904973030,0.241402849555016,-0.243773758411407,-0.005016506183892,0.098108217120171,0.080914162099361,-0.132679417729378,-0.038444060832262) * MODEL6_texOff(vec2(1,-1));
res += mat4(0.029277272522449,-0.222318530082703,0.076980456709862,0.132832258939743,0.203035876154900,-0.430099904537201,-0.336795240640640,-0.113661676645279,0.110232219099998,0.227214857935905,-0.033453386276960,-0.002014948055148,0.055617336183786,0.013927489519119,-0.363519877195358,0.054744705557823) * MODEL6_texOff(vec2(1,0));
res += mat4(0.154833525419235,-0.125512272119522,-0.232803151011467,-0.193765476346016,0.048867143690586,-0.063060045242310,-0.211382269859314,0.026858897879720,-0.033125910907984,-0.063507221639156,-0.037770282477140,0.221371740102768,0.034090101718903,0.045704673975706,0.060943424701691,-0.012411786243320) * MODEL6_texOff(vec2(1,1));
res = max(res, vec4(0.0)) + vec4(0.002907703863457,-0.069090589880943,0.020715601742268,0.016378201544285) * min(res, vec4(0.0));
return res;
}

//!HOOK LUMA
//!WHEN OUTPUT.w LUMA.w 2.200 * > OUTPUT.h LUMA.h 2.200 * > *
//!COMPONENTS 4
//!BIND MODEL1
//!BIND MODEL2
//!BIND MODEL3
//!BIND MODEL4
//!BIND MODEL5
//!BIND MODEL6
//!SAVE MODEL9
//!DESC [AiUpscale_HQ_Sharp_3x_LineArt] mapping 6_3

vec4 hook()
{
vec4 res = vec4(0.127459868788719,-0.017228081822395,-0.149988174438477,0.017870415002108);
res += mat4(-0.006623766385019,-0.189089357852936,0.132021814584732,-0.138498902320862,0.090901948511600,-0.380228489637375,-0.176878213882446,0.057924728840590,0.294098913669586,-0.034259039908648,-0.196399509906769,0.050872124731541,0.098042361438274,-0.070275813341141,-0.001525122672319,-0.158235147595406) * MODEL1_texOff(vec2(-1,-1));
res += mat4(0.034680902957916,-0.154277563095093,0.246442049741745,0.033632103353739,-0.065438829362392,-0.343500584363937,0.189362406730652,0.053912326693535,0.262723505496979,-0.006660161539912,0.275757610797882,-0.236647471785545,0.148851320147514,0.251223504543304,-0.024021761491895,-0.049798883497715) * MODEL1_texOff(vec2(-1,0));
res += mat4(0.022503821179271,-0.136128082871437,-0.072431422770023,0.007430354598910,-0.118488349020481,0.141782015562057,-0.236958548426628,0.060878582298756,0.061629321426153,-0.129273056983948,0.048010732978582,0.139755651354790,0.040791593492031,0.009267424233258,0.092474855482578,0.056055888533592) * MODEL1_texOff(vec2(-1,1));
res += mat4(0.055045723915100,-0.307156085968018,-0.152315914630890,0.027339944615960,0.034539707005024,-0.309900492429733,-0.068471372127533,-0.027112510055304,0.227908179163933,0.213642865419388,0.036225087940693,0.124123737215996,0.188395231962204,0.021155085414648,-0.231235057115555,0.044706817716360) * MODEL1_texOff(vec2(0,-1));
res += mat4(-0.087896652519703,-0.356678068637848,0.143886968493462,-0.109817348420620,0.001352314138785,0.305991947650909,-0.045807953923941,-0.124150916934013,-0.038462392985821,-0.204840332269669,0.106181643903255,0.161481708288193,0.084097214043140,0.057081401348114,0.017631998285651,-0.040534794330597) * MODEL1_texOff(vec2(0,0));
res += mat4(-0.023633522912860,0.014479074627161,-0.297255367040634,0.076657339930534,-0.028639363124967,0.072559796273708,0.084586560726166,0.002557610860094,0.045260060578585,0.053667139261961,0.078630425035954,0.238585337996483,0.085473448038101,-0.088781408965588,-0.202997907996178,-0.161752209067345) * MODEL1_texOff(vec2(0,1));
res += mat4(-0.017235262319446,0.120655074715614,0.118833884596825,-0.132383823394775,-0.029473759233952,0.106152921915054,-0.053802713751793,-0.165784776210785,0.176253646612167,-0.074189774692059,-0.003911140374839,0.291319340467453,0.071702465415001,-0.062188714742661,-0.166002303361893,0.098906494677067) * MODEL1_texOff(vec2(1,-1));
res += mat4(-0.026105439290404,0.359336733818054,0.065199889242649,-0.350256323814392,0.095668539404869,-0.141481891274452,-0.165968462824821,0.073562376201153,-0.122038230299950,0.267661452293396,0.191406980156898,-0.128444954752922,0.112940788269043,-0.035798888653517,-0.059279661625624,0.067826993763447) * MODEL1_texOff(vec2(1,0));
res += mat4(-0.068479239940643,0.164262041449547,0.127226278185844,0.164204493165016,-0.006830472499132,-0.324395537376404,0.120817363262177,0.100802108645439,-0.077027708292007,0.259264498949051,-0.046150587499142,-0.090647123754025,0.020909845829010,0.081758335232735,0.033931437879801,-0.003346158424392) * MODEL1_texOff(vec2(1,1));
res += mat4(-0.073702208697796,-0.028666753321886,0.153863355517387,0.086755052208900,0.128744661808014,-0.326380729675293,-0.082355722784996,-0.142115175724030,-0.051032196730375,0.147692143917084,-0.186004847288132,0.182268828153610,0.008072495460510,0.008411339484155,-0.070369325578213,0.231391042470932) * MODEL2_texOff(vec2(-1,-1));
res += mat4(0.070675365626812,0.052249733358622,-0.021543674170971,0.245819568634033,-0.108487315475941,-0.062494087964296,-0.022804750129580,-0.236539110541344,-0.024876877665520,-0.054948024451733,-0.062602803111076,0.196238577365875,-0.168614670634270,-0.203628197312355,-0.138592988252640,0.112563237547874) * MODEL2_texOff(vec2(-1,0));
res += mat4(0.058918852359056,0.035753808915615,0.074249267578125,-0.064699485898018,-0.041223905980587,0.158106952905655,-0.024638570845127,-0.087154790759087,0.065294712781906,0.060657698661089,-0.084264017641544,-0.053644500672817,-0.020912282168865,-0.044022209942341,-0.003495387034491,-0.020664907991886) * MODEL2_texOff(vec2(-1,1));
res += mat4(-0.316850751638412,0.016494974493980,0.029887568205595,-0.253762423992157,0.167054936289787,0.106451243162155,0.058598231524229,-0.022411521524191,0.025600552558899,0.148683905601501,-0.017277296632528,-0.010288515128195,0.096786022186279,0.289751470088959,-0.019111355766654,0.022125760093331) * MODEL2_texOff(vec2(0,-1));
res += mat4(0.146172359585762,-0.171838432550430,0.101384311914444,0.001628415775485,-0.020471069961786,0.129630133509636,0.164213210344315,-0.251017659902573,-0.042733307927847,0.087861493229866,0.076692700386047,-0.082960508763790,0.053531087934971,0.038594007492065,-0.050582122057676,-0.193305552005768) * MODEL2_texOff(vec2(0,0));
res += mat4(0.049771685153246,0.061274200677872,-0.073733545839787,0.100645653903484,0.184986978769302,0.061757884919643,0.072521127760410,0.216275975108147,-0.010690140537918,0.034364134073257,0.007518229074776,0.065720848739147,-0.092157155275345,-0.058868404477835,0.125737398862839,-0.025126319378614) * MODEL2_texOff(vec2(0,1));
res += mat4(0.007097418885678,0.119025141000748,0.123963288962841,-0.034597810357809,0.135801583528519,0.146958589553833,-0.034599553793669,-0.053499761968851,-0.054124686866999,0.104031622409821,-0.036685526371002,-0.033481344580650,-0.040566191077232,0.152668476104736,0.003582524135709,-0.057018317282200) * MODEL2_texOff(vec2(1,-1));
res += mat4(0.043943889439106,0.318613469600677,-0.048441663384438,0.067239321768284,-0.059709519147873,-0.048548493534327,-0.084089115262032,0.131150633096695,0.062843151390553,-0.174447178840637,-0.021283440291882,-0.087952613830566,0.087457247078419,0.131540134549141,-0.093286216259003,0.037725858390331) * MODEL2_texOff(vec2(1,0));
res += mat4(-0.033498276025057,0.048830714076757,0.134168177843094,0.127952888607979,0.071729689836502,0.080653347074986,-0.149042680859566,0.067010261118412,0.018782451748848,-0.106008328497410,0.067135341465473,0.100268095731735,-0.056895557790995,-0.005149455275387,-0.057337641716003,0.051532763987780) * MODEL2_texOff(vec2(1,1));
res += mat4(0.055139351636171,0.096437603235245,-0.056696522980928,0.105749540030956,0.024075217545033,-0.147297695279121,0.001296799629927,0.044380642473698,-0.035880118608475,-0.104589186608791,-0.101376868784428,0.276305198669434,-0.273606985807419,0.184429496526718,0.058390054851770,-0.186591178178787) * MODEL3_texOff(vec2(-1,-1));
res += mat4(0.079508632421494,0.023214288055897,0.048309657722712,0.215279281139374,0.019222943112254,-0.232215926051140,0.002142277546227,-0.055688083171844,0.015048368833959,-0.133205547928810,0.084980651736259,0.067454159259796,-0.047112870961428,-0.144361123442650,-0.239333108067513,-0.061762224882841) * MODEL3_texOff(vec2(-1,0));
res += mat4(-0.014753438532352,-0.000553698104341,-0.138379678130150,-0.018865702673793,-0.071290798485279,0.100767068564892,-0.194242224097252,-0.201894000172615,0.033921461552382,0.009328702464700,-0.144392788410187,-0.008285755291581,0.092468328773975,0.026011675596237,0.133893966674805,0.151061430573463) * MODEL3_texOff(vec2(-1,1));
res += mat4(0.010454850271344,0.058355521410704,-0.025282800197601,0.053466834127903,-0.055887825787067,0.006573039107025,-0.055991511791945,-0.169081702828407,-0.034620273858309,0.038115050643682,-0.050230853259563,0.311651796102524,-0.948091268539429,-0.155165538191795,0.103146247565746,0.069423191249371) * MODEL3_texOff(vec2(0,-1));
res += mat4(0.171076655387878,-0.168355613946915,-0.086627088487148,-0.143544808030128,0.071995832026005,-0.251215636730194,-0.047225289046764,-0.032427590340376,-0.017411956563592,0.143094301223755,0.066654041409492,0.219544559717178,-0.213703513145447,-0.009350796230137,-0.311240583658218,0.045976039022207) * MODEL3_texOff(vec2(0,0));
res += mat4(0.007398371119052,0.115631841123104,-0.004456870257854,0.209638059139252,-0.089062646031380,0.322254031896591,-0.159572556614876,0.272490561008453,-0.090003572404385,0.078166745603085,0.108234122395515,0.057704254984856,-0.049801323562860,-0.075888961553574,-0.096973925828934,-0.093355096876621) * MODEL3_texOff(vec2(0,1));
res += mat4(0.087284855544567,-0.100603796541691,0.011770075187087,0.055367697030306,-0.108234710991383,0.051924310624599,0.141716122627258,-0.115269869565964,-0.151418581604958,-0.041525907814503,0.075341455638409,-0.021533846855164,-0.064571611583233,-0.032365635037422,-0.047002702951431,-0.068577580153942) * MODEL3_texOff(vec2(1,-1));
res += mat4(-0.096858315169811,0.263614267110825,0.020367320626974,-0.312376528978348,-0.026384815573692,-0.076140418648720,0.084258832037449,-0.231143340468407,-0.048125974833965,0.125869825482368,-0.048872228711843,0.212080001831055,0.039606552571058,-0.181024327874184,-0.102089129388332,0.005521030165255) * MODEL3_texOff(vec2(1,0));
res += mat4(0.037488643079996,-0.132159069180489,0.017734376713634,-0.098505251109600,-0.182635024189949,0.035423520952463,0.009497941471636,0.272167921066284,0.067916393280029,0.111656300723553,-0.121606878936291,0.086679972708225,0.122561901807785,-0.011960580013692,0.018262656405568,-0.028250465169549) * MODEL3_texOff(vec2(1,1));
res += mat4(-0.165936723351479,-0.004300246480852,0.032922718673944,-0.012719346210361,-0.073944151401520,-0.167837873101234,0.051135707646608,-0.032175958156586,0.059550788253546,-0.162834465503693,0.046022951602936,-0.114562742412090,-0.056401003152132,-0.119136564433575,0.104952290654182,0.009148232638836) * MODEL4_texOff(vec2(-1,-1));
res += mat4(-0.042065672576427,0.003002098295838,-0.163571655750275,0.198728069663048,0.001054731896147,-0.112018577754498,-0.041615229099989,-0.040941916406155,0.126775383949280,0.129901736974716,0.201568320393562,-0.185972198843956,-0.092420890927315,-0.044626682996750,-0.026611050590873,0.123349182307720) * MODEL4_texOff(vec2(-1,0));
res += mat4(0.104178510606289,0.123352460563183,-0.106234498322010,0.038214746862650,-0.018171718344092,0.200704321265221,-0.089074574410915,0.052813384681940,-0.035565603524446,-0.287805467844009,0.116719819605350,0.086034066975117,-0.063042312860489,-0.003705566748977,-0.079272635281086,-0.031215412542224) * MODEL4_texOff(vec2(-1,1));
res += mat4(-0.038844879716635,0.031885076314211,0.087124124169350,-0.047177057713270,-0.830820620059967,-0.040360223501921,-0.015928206965327,0.059442017227411,0.014301453717053,-0.050360616296530,-0.087120674550533,-0.025672316551208,-0.050306789577007,0.121965982019901,0.039321668446064,-0.194429978728294) * MODEL4_texOff(vec2(0,-1));
res += mat4(-0.056075014173985,0.425087541341782,-0.147606268525124,0.298066496849060,-0.016592599451542,0.161863759160042,0.017546020448208,-0.269461691379547,-0.105852819979191,-0.022537082433701,-0.073140047490597,0.287762135267258,0.033276174217463,0.277069628238678,-0.305319488048553,0.052169401198626) * MODEL4_texOff(vec2(0,0));
res += mat4(-0.052257981151342,0.352268159389496,0.141101613640785,0.067417465150356,-0.025281509384513,0.167470946907997,0.056207727640867,0.041393786668777,0.047321613878012,-0.043168909847736,-0.017043441534042,-0.017821678891778,-0.075071901082993,0.008176323026419,-0.158949419856071,0.075984217226505) * MODEL4_texOff(vec2(0,1));
res += mat4(-0.075950279831886,0.066938810050488,0.147439107298851,-0.093425795435905,-0.040660396218300,0.038385689258575,0.018436983227730,0.122132241725922,0.076252013444901,0.023117704316974,0.051559653133154,0.029492417350411,-0.013295914046466,-0.070178814232349,0.091515652835369,0.024444755166769) * MODEL4_texOff(vec2(1,-1));
res += mat4(0.015571775846183,-0.182628989219666,-0.248187705874443,0.080659359693527,0.140117853879929,0.054060071706772,0.125475123524666,0.181446686387062,0.000003746265065,-0.541788816452026,-0.087999917566776,0.014964514411986,-0.004023261368275,-0.077701523900032,0.073552489280701,-0.012070362456143) * MODEL4_texOff(vec2(1,0));
res += mat4(0.140811309218407,-0.062315393239260,0.124721810221672,0.349793195724487,-0.054202098399401,0.068883188068867,0.140425160527229,0.028905445709825,-0.065929599106312,-0.081843450665474,0.065903700888157,-0.184160307049751,-0.091536626219749,0.151548534631729,0.065553396940231,0.096884712576866) * MODEL4_texOff(vec2(1,1));
res += mat4(0.009008146822453,-0.482752859592438,-0.056929282844067,-0.073919862508774,-0.030856627970934,-0.034762192517519,0.006824651267380,-0.048819079995155,-0.018224895000458,0.023728016763926,0.028328275308013,0.044109120965004,0.001137154642493,0.012078844010830,0.060702320188284,0.099462397396564) * MODEL5_texOff(vec2(-1,-1));
res += mat4(-0.094006083905697,0.155799120664597,-0.164317503571510,0.049873825162649,0.028039470314980,0.266447842121124,0.003971703350544,0.017704350873828,0.058743804693222,0.146320164203644,0.041828956454992,0.050006382167339,-0.233264729380608,-0.195082962512970,-0.143692612648010,0.232781335711479) * MODEL5_texOff(vec2(-1,0));
res += mat4(-0.019199816510081,0.089389190077782,-0.009546511806548,-0.115611732006073,-0.087672442197800,-0.025617538020015,0.026236834004521,0.156008109450340,0.060893069952726,-0.107696734368801,0.042578566819429,-0.117247156798840,-0.034211535006762,-0.065361522138119,-0.152216687798500,-0.135919213294983) * MODEL5_texOff(vec2(-1,1));
res += mat4(-0.101640798151493,-0.302343666553497,0.183548316359520,-0.207597032189369,-0.200602382421494,-0.120565883815289,0.100798018276691,-0.227563872933388,0.116281524300575,0.159476280212402,0.012172911316156,-0.082380548119545,-0.175688862800598,0.340991616249084,0.027203498408198,-0.286599814891815) * MODEL5_texOff(vec2(0,-1));
res += mat4(0.020723503082991,0.022999413311481,0.542650699615479,0.142509043216705,0.143942072987556,-0.299672901630402,-0.209488093852997,-0.201838493347168,0.239064142107964,-0.007682621944696,0.043569914996624,-0.199449390172958,-0.295631498098373,0.101777158677578,-0.136381328105927,-0.237257361412048) * MODEL5_texOff(vec2(0,0));
res += mat4(-0.053222600370646,0.014972735196352,-0.064382776618004,0.024145482107997,-0.067264609038830,0.045682888478041,0.189342498779297,0.044468685984612,0.078181885182858,-0.168029233813286,-0.066310279071331,0.213653892278671,0.010569718666375,-0.027221925556660,-0.037348810583353,-0.114940054714680) * MODEL5_texOff(vec2(0,1));
res += mat4(-0.052511822432280,0.008060169406235,0.105510294437408,-0.020504513755441,0.014004690572619,-0.005555246490985,0.065990626811981,0.143103852868080,0.047423198819160,-0.117388896644115,-0.072318874299526,0.131338715553284,-0.010807561688125,-0.176073685288429,-0.025290891528130,0.102877974510193) * MODEL5_texOff(vec2(1,-1));
res += mat4(0.008674605749547,0.178977996110916,0.076768018305302,-0.169302403926849,-0.013645915314555,0.261371225118637,-0.057547401636839,-0.187666907906532,0.027523605152965,0.027262639254332,0.208040326833725,-0.068949081003666,0.062285453081131,0.085357487201691,-0.171822711825371,0.048567984253168) * MODEL5_texOff(vec2(1,0));
res += mat4(-0.051461726427078,0.114834055304527,0.048805870115757,0.027894798666239,-0.044749550521374,-0.112949028611183,0.015698956325650,-0.171526983380318,0.010111659765244,0.040192898362875,-0.039338245987892,-0.111954718828201,0.030444394797087,0.168671131134033,-0.245488554239273,-0.035332079976797) * MODEL5_texOff(vec2(1,1));
res += mat4(0.009275765158236,0.318168461322784,0.027088833972812,0.055232886224985,0.067276865243912,0.093039773404598,-0.089050047099590,0.166571229696274,-0.120696015655994,-0.297719746828079,-0.028934545814991,0.003693457692862,0.071185566484928,-0.056859023869038,0.061568021774292,-0.139910638332367) * MODEL6_texOff(vec2(-1,-1));
res += mat4(0.032936658710241,0.297152370214462,0.059945635497570,-0.027042562142015,0.069306559860706,-0.228674679994583,-0.232610553503036,-0.066128619015217,-0.110614538192749,0.008623803034425,-0.149498179554939,0.012503272853792,0.004449044354260,-0.324584901332855,0.049804590642452,-0.192362457513809) * MODEL6_texOff(vec2(-1,0));
res += mat4(0.010885068215430,0.147719532251358,0.143869325518608,-0.078049428761005,0.028246460482478,0.065739735960960,0.076899088919163,-0.124759294092655,-0.014122739434242,0.007811799179763,-0.068126119673252,-0.012185809202492,0.075810492038727,0.148362651467323,0.150937452912331,0.218526095151901) * MODEL6_texOff(vec2(-1,1));
res += mat4(-0.138908609747887,0.363356977701187,0.030927317216992,-0.008082250133157,0.297088027000427,0.156919762492180,-0.161076813936234,0.352154076099396,0.134651675820351,-0.156797647476196,0.056557726114988,-0.243758827447891,0.123083025217056,0.023530054837465,0.041464693844318,0.026135163381696) * MODEL6_texOff(vec2(0,-1));
res += mat4(-0.048520363867283,0.479319661855698,0.167912095785141,0.109766431152821,0.202355846762657,0.309156179428101,-0.203486934304237,0.070792131125927,-0.109369635581970,-0.204302683472633,0.292624771595001,0.023508802056313,-0.370328992605209,0.245457783341408,-0.058283850550652,-0.358051896095276) * MODEL6_texOff(vec2(0,0));
res += mat4(-0.056610248982906,0.044979002326727,0.018786977976561,-0.008776454254985,-0.114699937403202,0.084548816084862,0.180652976036072,-0.105178855359554,0.021553419530392,0.045964322984219,0.095897607505322,0.032913811504841,0.073706045746803,0.021567495539784,0.212418362498283,-0.008280296809971) * MODEL6_texOff(vec2(0,1));
res += mat4(-0.081315085291862,-0.065065182745457,-0.069675773382187,-0.029432512819767,-0.081818088889122,-0.135712459683418,-0.073309548199177,-0.000656675198115,0.092790812253952,0.021825090050697,-0.080804064869881,0.128353908658028,0.048735976219177,-0.058702267706394,0.133410125970840,0.012813746929169) * MODEL6_texOff(vec2(1,-1));
res += mat4(0.043027300387621,-0.114966712892056,0.189361736178398,-0.071713536977768,0.026091266423464,-0.326584041118622,-0.022471951320767,0.207435548305511,-0.160264402627945,0.059852287173271,-0.096618384122849,-0.134662032127380,0.031652200967073,-0.119106233119965,-0.025629969313741,0.136691167950630) * MODEL6_texOff(vec2(1,0));
res += mat4(0.001063607516699,-0.103801727294922,-0.034772373735905,0.163182392716408,0.082593269646168,-0.126006990671158,-0.082469075918198,0.173324748873711,-0.169344469904900,-0.007816838100553,0.038408432155848,-0.025558767840266,-0.031742829829454,0.221210300922394,0.010045370087028,0.026492148637772) * MODEL6_texOff(vec2(1,1));
res = max(res, vec4(0.0)) + vec4(0.029611324891448,0.323595345020294,0.207042887806892,-0.086670413613319) * min(res, vec4(0.0));
return res;
}

//!HOOK LUMA
//!WHEN OUTPUT.w LUMA.w 2.200 * > OUTPUT.h LUMA.h 2.200 * > *
//!COMPONENTS 4
//!BIND MODEL1
//!BIND MODEL2
//!BIND MODEL3
//!BIND MODEL4
//!BIND MODEL5
//!BIND MODEL6
//!SAVE MODEL10
//!DESC [AiUpscale_HQ_Sharp_3x_LineArt] mapping 6_4

vec4 hook()
{
vec4 res = vec4(0.051524452865124,0.000359030469554,0.052030276507139,0.016544707119465);
res += mat4(-0.026650430634618,-0.124260179698467,0.024796800687909,0.012802969664335,-0.182046204805374,-0.031799629330635,0.070136867463589,-0.285216927528381,-0.125893607735634,0.143593221902847,-0.080313041806221,0.008374403230846,0.096958048641682,-0.006288318894804,0.042888209223747,-0.054042670875788) * MODEL1_texOff(vec2(-1,-1));
res += mat4(-0.260531395673752,-0.267710506916046,-0.052418500185013,-0.025997772812843,-0.066082209348679,-0.115900039672852,0.195027858018875,-0.066585041582584,-0.173978865146637,0.150138065218925,-0.156473144888878,0.017844907939434,0.103312395513058,0.004359630867839,-0.015792882069945,-0.165097400546074) * MODEL1_texOff(vec2(-1,0));
res += mat4(-0.085174970328808,0.081678479909897,-0.154707834124565,-0.045941017568111,0.177244126796722,0.107578821480274,0.046269189566374,-0.046107307076454,0.016158731654286,-0.102387681603432,-0.018369300290942,0.076626308262348,0.018381003290415,-0.046393238008022,-0.085705481469631,-0.051439590752125) * MODEL1_texOff(vec2(-1,1));
res += mat4(-0.103484034538269,-0.095671601593494,-0.018245140090585,0.191214874386787,-0.110383071005344,-0.158496260643005,-0.172628432512283,-0.116808645427227,-0.160260736942291,0.067057088017464,-0.066457666456699,-0.089583903551102,-0.133560538291931,-0.066478326916695,-0.013624703511596,-0.060549728572369) * MODEL1_texOff(vec2(0,-1));
res += mat4(0.050219904631376,-0.146494925022125,-0.142454460263252,-0.087724246084690,-0.073231332004070,0.109529472887516,-0.376885920763016,-0.181018054485321,-0.154452934861183,-0.181829005479813,0.175163507461548,-0.198903858661652,-0.254605650901794,-0.065961562097073,0.053517214953899,0.077131599187851) * MODEL1_texOff(vec2(0,0));
res += mat4(0.075453162193298,0.051049120724201,0.023384382948279,-0.232434362173080,-0.016690209507942,0.164566293358803,-0.142496585845947,0.073205903172493,0.050154242664576,0.366211086511612,0.083276093006134,0.158997818827629,-0.127641171216965,-0.030184069648385,-0.039738208055496,0.113664738833904) * MODEL1_texOff(vec2(0,1));
res += mat4(-0.127625420689583,0.030894694849849,-0.129754379391670,-0.133695110678673,0.033779803663492,0.057607151567936,-0.383536368608475,-0.072406023740768,-0.016635548323393,-0.061419993638992,-0.171414822340012,0.063853211700916,0.115973412990570,-0.066298544406891,0.076562359929085,0.011715476401150) * MODEL1_texOff(vec2(1,-1));
res += mat4(-0.166478365659714,0.055378485471010,-0.470255851745605,0.207504153251648,-0.084636576473713,-0.085547335445881,-0.128376528620720,-0.053673692047596,0.233223289251328,0.268101274967194,-0.385219156742096,-0.086120694875717,0.102822698652744,0.014589020982385,0.164148107171059,-0.043042138218880) * MODEL1_texOff(vec2(1,0));
res += mat4(0.020439853891730,0.064160078763962,-0.035092875361443,0.002909799106419,-0.079226352274418,-0.145541071891785,-0.191321551799774,0.168491065502167,0.015726545825601,0.212206229567528,-0.411814570426941,-0.090334229171276,0.099485337734222,0.010666255839169,0.240476503968239,-0.049256760627031) * MODEL1_texOff(vec2(1,1));
res += mat4(0.141267329454422,0.041716843843460,0.000374603725504,0.049530923366547,-0.012749230489135,-0.146424189209938,0.153698936104774,-0.212049692869186,0.251463860273361,-0.016317546367645,0.202814221382141,-0.017988868057728,0.183688983321190,-0.073027454316616,0.136474788188934,0.061013668775558) * MODEL2_texOff(vec2(-1,-1));
res += mat4(0.147386580705643,0.127887472510338,0.211171463131905,-0.035883851349354,0.116311676800251,0.052709881216288,-0.133953630924225,-0.092467978596687,0.220553666353226,-0.070568285882473,0.224527388811111,0.048550311475992,0.238246306777000,-0.019892642274499,-0.069099262356758,-0.097774922847748) * MODEL2_texOff(vec2(-1,0));
res += mat4(-0.011825260706246,0.214021921157837,0.070226930081844,0.008319793269038,0.159199401736259,-0.065950475633144,-0.195576339960098,-0.080311834812164,0.064269170165062,0.126285493373871,0.075140193104744,0.042337764054537,-0.013026260770857,0.036414440721273,0.032782167196274,-0.026663042604923) * MODEL2_texOff(vec2(-1,1));
res += mat4(0.041346244513988,-0.144712984561920,0.004682632163167,-0.261549234390259,0.042309701442719,0.046799086034298,-0.029766688123345,-0.456343412399292,-0.005247324239463,0.229269906878471,-0.100301861763000,0.178765252232552,0.027826158329844,-0.208286538720131,0.063772536814213,-0.174392923712730) * MODEL2_texOff(vec2(0,-1));
res += mat4(-0.273728221654892,-0.143571525812149,-0.282378822565079,-0.043911725282669,-0.167054235935211,0.016002176329494,-0.069960944354534,-0.243808478116989,0.131528943777084,0.236355617642403,-0.387414127588272,0.103131249547005,-0.325731605291367,-0.209113016724586,-0.021838769316673,0.029179804027081) * MODEL2_texOff(vec2(0,0));
res += mat4(0.119664587080479,0.088505871593952,-0.016563089564443,-0.095469355583191,0.275968998670578,0.234463691711426,0.518444478511810,-0.087402373552322,0.061579145491123,-0.080512829124928,-0.098951280117035,0.052241757512093,-0.061619482934475,0.029303386807442,-0.093867354094982,-0.055398486554623) * MODEL2_texOff(vec2(0,1));
res += mat4(-0.232900723814964,-0.087451606988907,-0.133933871984482,0.182484224438667,0.006135717965662,0.011039774864912,0.044318851083517,-0.071691058576107,-0.070798791944981,0.111884944140911,0.230347499251366,-0.025646436959505,-0.003382237162441,-0.008964575827122,-0.056421995162964,0.009412122890353) * MODEL2_texOff(vec2(1,-1));
res += mat4(0.151709347963333,0.156050965189934,-0.160794273018837,-0.024876862764359,-0.060507860034704,-0.088098831474781,0.110255979001522,0.131807863712311,0.061456818133593,-0.051238413900137,0.274472653865814,-0.056850016117096,-0.064507000148296,-0.006842642556876,-0.258962303400040,0.151876300573349) * MODEL2_texOff(vec2(1,0));
res += mat4(0.030761515721679,0.087751239538193,0.074578955769539,-0.042568009346724,-0.049007628113031,0.084972865879536,-0.106781356036663,-0.009942681528628,-0.129701599478722,-0.153610110282898,-0.103641785681248,0.105066098272800,0.024236936122179,0.012038650922477,-0.032450653612614,-0.014342455193400) * MODEL2_texOff(vec2(1,1));
res += mat4(0.141061723232269,-0.071564674377441,-0.003254296258092,0.021939165890217,-0.130158841609955,-0.016585471108556,-0.166185989975929,-0.065722547471523,0.000373901828425,-0.010617098771036,0.117526859045029,0.027639715000987,-0.043716073036194,0.096058204770088,0.043300345540047,0.075785681605339) * MODEL3_texOff(vec2(-1,-1));
res += mat4(0.269673019647598,0.041036285459995,-0.011884612031281,0.031664069741964,0.097448043525219,-0.012953924946487,-0.177344620227814,0.043354883790016,0.145330294966698,-0.077828153967857,0.163408115506172,0.038228247314692,-0.160269051790237,0.100187994539738,0.072664737701416,-0.065225474536419) * MODEL3_texOff(vec2(-1,0));
res += mat4(0.084163971245289,0.044211789965630,-0.011354548856616,-0.129820793867111,0.082982681691647,0.018298089504242,-0.060427058488131,-0.028350898995996,0.052559100091457,-0.022280177101493,0.074692748486996,-0.075318075716496,-0.051763750612736,-0.040656998753548,0.101390048861504,0.138702407479286) * MODEL3_texOff(vec2(-1,1));
res += mat4(-0.065287269651890,0.203125879168510,0.121021822094917,-0.022367399185896,-0.073305614292622,0.129025876522064,-0.122559443116188,-0.189209327101707,0.111771970987320,0.115789882838726,-0.274048000574112,0.173662871122360,0.057145494967699,0.008854701183736,-0.019997855648398,-0.102713145315647) * MODEL3_texOff(vec2(0,-1));
res += mat4(-0.326134622097015,0.020999031141400,-0.025149438530207,0.195612251758575,-0.277310550212860,-0.592857539653778,-0.017002349719405,0.017329171299934,-0.020199703052640,-0.054550938308239,0.013094052672386,0.122560679912567,-0.048941537737846,-0.146229654550552,-0.168323278427124,-0.050019353628159) * MODEL3_texOff(vec2(0,0));
res += mat4(0.049961205571890,0.127587139606476,0.005531043279916,-0.115218237042427,0.144176602363586,0.102926440536976,0.109443053603172,0.094304427504539,0.218042835593224,-0.166551351547241,0.048044402152300,-0.109230309724808,-0.002406119136140,-0.056854773312807,-0.050349988043308,0.143066748976707) * MODEL3_texOff(vec2(0,1));
res += mat4(-0.086112648248672,0.021680654957891,0.076298162341118,0.081497803330421,0.031731761991978,0.066848494112492,-0.056223746389151,-0.067889153957367,0.082734867930412,-0.016291240230203,0.292628496885300,0.039351511746645,-0.076922349631786,0.092363305389881,-0.143043413758278,-0.131687387824059) * MODEL3_texOff(vec2(1,-1));
res += mat4(0.093062780797482,0.229410901665688,-0.255176573991776,-0.081894375383854,0.011247192509472,0.058460053056479,-0.162251919507980,0.113206237554550,0.056615848094225,0.008064642548561,0.223212033510208,-0.086925275623798,-0.021939646452665,0.003988736309111,0.331244081258774,0.053535375744104) * MODEL3_texOff(vec2(1,0));
res += mat4(0.063620895147324,-0.009638179093599,0.086907655000687,-0.035334978252649,-0.100779287517071,-0.149588778614998,0.160117119550705,-0.012815523892641,-0.124417103827000,-0.062414530664682,0.219022437930107,-0.008079325780272,-0.002349450951442,0.040634647011757,-0.026213355362415,0.027433112263680) * MODEL3_texOff(vec2(1,1));
res += mat4(0.129832148551941,-0.056345265358686,0.052255522459745,-0.110938794910908,-0.065083272755146,-0.276382327079773,0.062014192342758,0.087364368140697,-0.110614545643330,0.152368947863579,-0.022754985839128,0.113585896790028,0.036400571465492,-0.089683637022972,-0.042244285345078,-0.103235937654972) * MODEL4_texOff(vec2(-1,-1));
res += mat4(0.183436319231987,-0.173560321331024,0.090828344225883,-0.033936273306608,-0.009498314931989,-0.073400273919106,-0.027442762628198,0.164882123470306,0.023248888552189,0.280771166086197,-0.332112729549408,0.032249219715595,0.208034127950668,-0.040101092308760,-0.038228634744883,-0.006566485855728) * MODEL4_texOff(vec2(-1,0));
res += mat4(0.004165239166468,-0.013643577694893,0.294610351324081,0.051044464111328,0.089024312794209,0.070569932460785,0.121301218867302,0.030286451801658,0.015369463711977,-0.070770122110844,-0.151952475309372,0.007172673940659,-0.017207032069564,0.041259787976742,-0.075165651738644,-0.014987248927355) * MODEL4_texOff(vec2(-1,1));
res += mat4(0.104032531380653,0.150155797600746,-0.151716172695160,0.043802540749311,-0.543032586574554,0.001572774141096,0.019049424678087,0.229446873068810,-0.008285862393677,-0.119008727371693,0.088046945631504,-0.177107796072960,-0.105741344392300,0.152999371290207,-0.022999685257673,0.012909602373838) * MODEL4_texOff(vec2(0,-1));
res += mat4(0.174618139863014,0.035586718469858,-0.038220390677452,0.106247216463089,-0.125840395689011,-0.067206077277660,0.197504132986069,-0.119177728891373,0.060929689556360,-0.279571563005447,0.400373339653015,0.013400599360466,-0.119504429399967,0.011145030148327,-0.086170673370361,0.272434860467911) * MODEL4_texOff(vec2(0,0));
res += mat4(0.271254837512970,0.138980180025101,-0.164612054824829,-0.049252107739449,-0.063340701162815,-0.057302467525005,-0.003628680249676,-0.029544204473495,-0.043795295059681,0.098839469254017,0.096949130296707,-0.049683984369040,0.118940517306328,0.043389201164246,-0.026699805632234,-0.186221197247505) * MODEL4_texOff(vec2(0,1));
res += mat4(-0.141675814986229,0.065410658717155,0.214257910847664,-0.001872713677585,-0.218347907066345,0.066469460725784,-0.499332308769226,0.069351963698864,0.122461616992950,-0.059840548783541,0.149603426456451,0.164854124188423,-0.018835855647922,0.035212926566601,-0.028890451416373,0.028870947659016) * MODEL4_texOff(vec2(1,-1));
res += mat4(-0.058518826961517,-0.186254650354385,0.103205226361752,0.181605279445648,0.031110238283873,0.021777380257845,-0.176769897341728,-0.097833245992661,-0.343134671449661,-0.284355461597443,-0.434367418289185,-0.367111474275589,0.027810523286462,0.164334937930107,0.054468438029289,-0.010062377899885) * MODEL4_texOff(vec2(1,0));
res += mat4(-0.066070824861526,0.003026447724551,0.348156273365021,0.079490497708321,0.015377937816083,0.072166994214058,0.069883890450001,0.013381027616560,-0.059839658439159,-0.076592534780502,-0.208541572093964,0.051753405481577,0.040790449827909,0.053433317691088,0.036237191408873,-0.103890351951122) * MODEL4_texOff(vec2(1,1));
res += mat4(0.035512335598469,0.062650382518768,-0.050068937242031,-0.002305114874616,-0.049292709678411,-0.194760546088219,-0.110218577086926,0.083802603185177,0.224581673741341,-0.203334257006645,0.140065252780914,-0.211403310298920,0.178050369024277,-0.180987969040871,-0.032174538820982,-0.246332064270973) * MODEL5_texOff(vec2(-1,-1));
res += mat4(0.106790058314800,-0.199324086308479,0.023282788693905,-0.003259617835283,0.130203858017921,0.009166494943202,-0.147216930985451,0.064016766846180,-0.083387054502964,-0.054236501455307,0.121117599308491,-0.066354773938656,0.258539736270905,-0.296153336763382,0.179791778326035,0.145411223173141) * MODEL5_texOff(vec2(-1,0));
res += mat4(0.032788280397654,0.103810891509056,-0.037232164293528,-0.032948292791843,-0.024279188364744,-0.066474065184593,0.144411578774452,-0.001405999879353,-0.028946097940207,0.229131147265434,-0.187653243541718,-0.018075287342072,-0.054532099515200,-0.170729488134384,0.016119766980410,0.216879382729530) * MODEL5_texOff(vec2(-1,1));
res += mat4(-0.164018124341965,0.021255536004901,-0.052515603601933,-0.275251060724258,-0.162632569670677,0.180923148989677,0.085063472390175,-0.091458886861801,-0.024185692891479,0.471341580152512,-0.098808497190475,-0.057940132915974,0.029247460886836,0.149466156959534,-0.073988400399685,0.143009021878242) * MODEL5_texOff(vec2(0,-1));
res += mat4(0.069432705640793,0.127395644783974,0.003217930905521,-0.003660108428448,-0.151909455657005,-0.117774203419685,0.321481555700302,-0.132495790719986,0.113168843090534,0.100405573844910,0.128435522317886,-0.055309038609266,0.261321872472763,-0.055249501019716,-0.194285020232201,0.012062710709870) * MODEL5_texOff(vec2(0,0));
res += mat4(-0.004180657211691,0.116710573434830,0.028793402016163,-0.084714718163013,-0.158274918794632,-0.101152166724205,-0.162747859954834,0.039423801004887,-0.096924960613251,-0.173638671636581,0.103739090263844,0.213436722755432,0.118397749960423,0.071005232632160,0.232039213180542,0.109050363302231) * MODEL5_texOff(vec2(0,1));
res += mat4(0.122365914285183,0.084428615868092,-0.134246796369553,0.057014089077711,-0.069779962301254,0.030688343569636,-0.442152500152588,0.050031263381243,0.014044109731913,-0.209079951047897,0.248101472854614,0.063098415732384,0.046685736626387,-0.312394738197327,0.223992407321930,0.199972406029701) * MODEL5_texOff(vec2(1,-1));
res += mat4(0.012850861996412,0.107972949743271,0.139711931347847,-0.016654696315527,0.184185534715652,0.164027169346809,-0.341110289096832,-0.112459637224674,-0.101137608289719,0.023296957835555,0.196509629487991,-0.059022173285484,-0.144297271966934,-0.105272606015205,0.114156976342201,0.238946378231049) * MODEL5_texOff(vec2(1,0));
res += mat4(0.096946544945240,0.002759878523648,-0.004547897260636,-0.105335675179958,0.118425339460373,0.052189357578754,0.125395834445953,0.014138353057206,-0.007282811217010,-0.040193092077971,-0.137020230293274,0.052587259560823,0.066989541053772,0.054282158613205,-0.081532120704651,-0.167890012264252) * MODEL5_texOff(vec2(1,1));
res += mat4(0.104108504951000,0.028052279725671,-0.016525896266103,0.098305173218250,0.038783702999353,0.085576392710209,0.117494046688080,-0.007306849583983,-0.106467835605145,0.059101045131683,-0.017625810578465,-0.038109600543976,0.015121973119676,-0.011081993579865,-0.099893748760223,0.045198265463114) * MODEL6_texOff(vec2(-1,-1));
res += mat4(-0.087009638547897,0.119664184749126,0.018725760281086,0.106349892914295,0.039168398827314,0.093408137559891,-0.038420449942350,-0.151251673698425,-0.117594748735428,-0.091749727725983,-0.016115995123982,0.193041741847992,0.054650586098433,0.102494910359383,-0.046328451484442,-0.173806607723236) * MODEL6_texOff(vec2(-1,0));
res += mat4(-0.075104534626007,-0.028924867510796,-0.068702131509781,0.039546396583319,0.046604570001364,0.224866583943367,-0.122893340885639,-0.012693503871560,-0.004193390253931,-0.101701647043228,-0.016697626560926,0.040855471044779,0.052231907844543,-0.064399816095829,0.010606286115944,0.019771238788962) * MODEL6_texOff(vec2(-1,1));
res += mat4(0.047533299773932,0.197503715753555,0.237542614340782,0.158137544989586,0.240452677011490,0.249071419239044,0.115456879138947,0.134290903806686,-0.091543667018414,-0.359078079462051,-0.220225274562836,-0.168971732258797,-0.094923332333565,-0.332671821117401,0.046711247414351,-0.320970237255096) * MODEL6_texOff(vec2(0,-1));
res += mat4(0.078902319073677,0.268491327762604,0.161887004971504,0.292194098234177,-0.127072244882584,-0.127518594264984,-0.034639324992895,0.024101573973894,-0.400057494640350,-0.181136265397072,-0.304441988468170,0.101854793727398,0.015038387849927,-0.210621744394302,0.110552772879601,-0.487687885761261) * MODEL6_texOff(vec2(0,0));
res += mat4(0.168367862701416,0.022128276526928,0.142891645431519,-0.018961770460010,0.073549009859562,0.147634550929070,-0.088364794850349,0.023638848215342,-0.002365726279095,-0.153515949845314,0.008956817910075,0.134390786290169,-0.022518845275044,-0.012219461612403,0.140987634658813,0.240975737571716) * MODEL6_texOff(vec2(0,1));
res += mat4(0.007126147858799,-0.051980149000883,-0.035293843597174,0.054663941264153,0.196443840861320,-0.195054769515991,0.363844633102417,-0.006083033978939,0.049840353429317,0.145209118723869,0.029912058264017,-0.169458538293839,0.048143018037081,0.107817374169827,-0.041997488588095,-0.021608587354422) * MODEL6_texOff(vec2(1,-1));
res += mat4(-0.150442749261856,-0.147007703781128,0.137814491987228,0.160692468285561,-0.097691684961319,-0.208042934536934,0.115197144448757,0.053160119801760,0.149731159210205,-0.028009267523885,-0.262621939182281,-0.074735365808010,0.008909416384995,-0.180807381868362,-0.182165086269379,0.058830142021179) * MODEL6_texOff(vec2(1,0));
res += mat4(-0.180690914392471,-0.062913998961449,-0.156947806477547,0.097087346017361,-0.072124548256397,-0.189678415656090,-0.074177689850330,0.053102340549231,-0.072531394660473,-0.036062408238649,0.040235910564661,0.098059162497520,-0.025857266038656,-0.035358786582947,-0.175730854272842,-0.019172091037035) * MODEL6_texOff(vec2(1,1));
res = max(res, vec4(0.0)) + vec4(-0.076833762228489,-0.084507659077644,0.013403540477157,-0.032318856567144) * min(res, vec4(0.0));
return res;
}

//!HOOK LUMA
//!WHEN OUTPUT.w LUMA.w 2.200 * > OUTPUT.h LUMA.h 2.200 * > *
//!COMPONENTS 4
//!BIND MODEL1
//!BIND MODEL2
//!BIND MODEL3
//!BIND MODEL4
//!BIND MODEL5
//!BIND MODEL6
//!SAVE MODEL11
//!DESC [AiUpscale_HQ_Sharp_3x_LineArt] mapping 6_5

vec4 hook()
{
vec4 res = vec4(-0.146729424595833,0.102546855807304,0.069546572864056,0.116189837455750);
res += mat4(0.119069792330265,0.071052230894566,-0.076171636581421,-0.027460377663374,0.060607187449932,-0.137807607650757,0.088882036507130,0.136007115244865,0.046474352478981,0.125762000679970,0.096724420785904,0.011001285165548,-0.074340231716633,0.089545689523220,-0.034732379019260,-0.002726013073698) * MODEL1_texOff(vec2(-1,-1));
res += mat4(-0.001916047651321,0.131377175450325,-0.102493338286877,-0.205530494451523,-0.079752124845982,-0.383284002542496,-0.072747193276882,0.003768502036110,0.296010315418243,-0.162269636988640,-0.021395830437541,0.031182391569018,0.051245901733637,-0.000150114530697,0.110535748302937,-0.018731905147433) * MODEL1_texOff(vec2(-1,0));
res += mat4(0.030883220955729,-0.178506135940552,0.003679211018607,-0.033782079815865,-0.135576888918877,-0.046083688735962,-0.076964795589447,-0.064377196133137,-0.151666551828384,0.039583597332239,-0.003182486165315,-0.033474318683147,-0.033460270613432,0.122259669005871,0.039781194180250,-0.035424597561359) * MODEL1_texOff(vec2(-1,1));
res += mat4(-0.126934349536896,0.113853648304939,-0.173477083444595,0.012689642608166,-0.037671454250813,-0.038867320865393,0.152360439300537,-0.001656746491790,-0.044180177152157,0.153961151838303,0.194578513503075,-0.220729455351830,-0.036912385374308,-0.380581021308899,0.072382137179375,0.075959622859955) * MODEL1_texOff(vec2(0,-1));
res += mat4(-0.028947966173291,0.226165831089020,-0.082120001316071,-0.206387355923653,-0.006772231310606,-0.250884562730789,-0.015543745830655,-0.096720948815346,0.255903869867325,0.053813386708498,0.142091542482376,-0.256253927946091,-0.057388145476580,0.359639793634415,0.098011463880539,0.108181424438953) * MODEL1_texOff(vec2(0,0));
res += mat4(-0.269201636314392,-0.205989032983780,-0.142786338925362,0.026311630383134,-0.015099404379725,-0.101808749139309,-0.064816437661648,0.136714592576027,0.061158012598753,0.069676905870438,-0.029608305543661,-0.261742234230042,-0.045842714607716,0.162011638283730,0.048008389770985,0.059774965047836) * MODEL1_texOff(vec2(0,1));
res += mat4(-0.040271557867527,0.016333624720573,-0.106374502182007,0.003376343986019,-0.269644945859909,0.035082805901766,-0.127085372805595,-0.104708135128021,-0.056924521923065,-0.021297374740243,-0.051923654973507,0.057047337293625,0.016693133860826,-0.112591363489628,-0.053293544799089,0.025767093524337) * MODEL1_texOff(vec2(1,-1));
res += mat4(-0.034371018409729,-0.186167046427727,0.086338803172112,0.019952144473791,0.166262939572334,-0.191473215818405,0.195783242583275,-0.004616599995643,-0.273851275444031,-0.178447723388672,0.054496753960848,0.098864436149597,-0.020948115736246,-0.076289504766464,-0.098282054066658,0.027223771438003) * MODEL1_texOff(vec2(1,0));
res += mat4(-0.055624455213547,0.123182319104671,-0.081973940134048,0.056385494768620,0.203286334872246,-0.210053607821465,0.068977646529675,-0.304133743047714,-0.041529990732670,0.127560704946518,0.050669427961111,0.037554204463959,0.030036183074117,-0.012628971599042,-0.034849192947149,-0.028350690379739) * MODEL1_texOff(vec2(1,1));
res += mat4(-0.069544136524200,0.004170732572675,-0.169912964105606,-0.014513179659843,0.143917724490166,0.062094055116177,0.213406041264534,0.000342833838658,-0.083286032080650,0.137465640902519,0.091465860605240,-0.051963038742542,0.005377457477152,-0.024896953254938,0.150875002145767,-0.007147450000048) * MODEL2_texOff(vec2(-1,-1));
res += mat4(-0.015751259401441,0.198525965213776,0.047593928873539,-0.125202983617783,0.038022819906473,-0.276145100593567,-0.022291697561741,0.027076626196504,-0.155254617333412,0.100843057036400,0.203745350241661,-0.131645292043686,-0.152211040258408,0.171637162566185,-0.104311861097813,-0.204476177692413) * MODEL2_texOff(vec2(-1,0));
res += mat4(0.010821413248777,-0.079665601253510,-0.036244247108698,-0.050336372107267,0.134649306535721,-0.015186680480838,-0.124801442027092,0.080179415643215,0.040593747049570,-0.012653253972530,0.203747689723969,-0.095628947019577,0.056211758404970,-0.068016886711121,0.066521696746349,-0.077993981540203) * MODEL2_texOff(vec2(-1,1));
res += mat4(0.238004311919212,0.022423606365919,-0.063388995826244,0.003708187257871,-0.021308222785592,-0.140488669276237,0.040239680558443,0.076322704553604,0.123762860894203,0.121539361774921,-0.029284080490470,0.024546874687076,-0.010798590257764,-0.116414882242680,0.108539216220379,0.221348285675049) * MODEL2_texOff(vec2(0,-1));
res += mat4(-0.025734927505255,-0.265829652547836,0.023861439898610,0.310647130012512,0.048092659562826,-0.267450243234634,0.267785251140594,-0.041644666343927,0.349254250526428,-0.079351492226124,-0.056937593966722,0.147320464253426,0.069271095097065,-0.320445328950882,0.475635528564453,0.358426183462143) * MODEL2_texOff(vec2(0,0));
res += mat4(0.056578077375889,-0.212001383304596,-0.079724408686161,-0.124859720468521,-0.008378652855754,-0.028653930872679,-0.096033446490765,0.010992781259120,0.082196854054928,-0.131105527281761,-0.062298584729433,0.036286614835262,-0.079284705221653,0.050884809345007,-0.099551133811474,0.062767729163170) * MODEL2_texOff(vec2(0,1));
res += mat4(-0.047538131475449,0.265603542327881,0.016309447586536,0.055877916514874,-0.189754486083984,0.007870055735111,0.052874356508255,-0.008685387670994,0.029564844444394,0.069664828479290,0.023691097274423,0.072016745805740,0.053025487810373,0.172146752476692,0.070670329034328,0.000711710366886) * MODEL2_texOff(vec2(1,-1));
res += mat4(0.069347806274891,-0.149507924914360,0.283474951982498,0.303868710994720,-0.035523276776075,0.153978586196899,0.006420897319913,-0.034543283283710,0.206516489386559,-0.246717765927315,0.231904670596123,-0.073976285755634,0.149432122707367,0.073335878551006,-0.043717287480831,-0.011430643498898) * MODEL2_texOff(vec2(1,0));
res += mat4(0.072259150445461,0.051279921084642,-0.006997507065535,-0.031962119042873,-0.001131048658863,-0.078398883342743,0.039788104593754,0.081113025546074,0.198948502540588,-0.013203151524067,-0.074907846748829,-0.052351500838995,-0.083180136978626,-0.037476625293493,-0.035788860172033,0.079063899815083) * MODEL2_texOff(vec2(1,1));
res += mat4(0.108534768223763,0.038419432938099,0.003423390211537,0.033525925129652,0.135295942425728,-0.101501360535622,0.113585121929646,-0.014527354389429,0.196381971240044,-0.299102604389191,0.322979778051376,0.050475746393204,0.019218169152737,-0.149320274591446,-0.280381858348846,0.046059750020504) * MODEL3_texOff(vec2(-1,-1));
res += mat4(0.006896644830704,0.094587899744511,0.051214277744293,-0.124079465866089,0.119849868118763,-0.121206969022751,0.068067148327827,0.037689976394176,-0.039157293736935,0.044933218508959,0.188135221600533,-0.150913387537003,0.042276341468096,-0.003013131674379,-0.156782776117325,0.057903409004211) * MODEL3_texOff(vec2(-1,0));
res += mat4(0.041457161307335,0.104902185499668,-0.029919710010290,0.012758900411427,0.123616516590118,0.079873107373714,0.010014019906521,0.023360157385468,0.012993565760553,-0.154200911521912,0.174017816781998,-0.120117217302322,-0.037582714110613,0.083947084844112,0.062462091445923,0.000533756276127) * MODEL3_texOff(vec2(-1,1));
res += mat4(-0.002925127744675,0.167747452855110,0.080955825746059,0.045160468667746,-0.108988717198372,0.106788337230682,-0.104062333703041,-0.043308269232512,0.265534222126007,-0.139887169003487,0.186923757195473,-0.062183868139982,0.043412324041128,0.339759320020676,-0.482232958078384,-0.272171407938004) * MODEL3_texOff(vec2(0,-1));
res += mat4(0.212670326232910,-0.225550219416618,0.328135818243027,-0.112120822072029,0.211278289556503,-0.198050811886787,0.085783645510674,-0.210592180490494,0.303205341100693,0.015064225532115,-0.056588284671307,-0.064202286303043,-0.053025674074888,0.142249554395676,-0.140619799494743,0.133420020341873) * MODEL3_texOff(vec2(0,0));
res += mat4(-0.244944006204605,-0.120814807713032,0.013592007569969,0.011167332530022,-0.211288809776306,-0.084139838814735,-0.189226344227791,0.223492518067360,-0.028355525806546,0.076323837041855,0.082286097109318,0.111874133348465,0.119511067867279,0.151240393519402,0.093706019222736,0.031885761767626) * MODEL3_texOff(vec2(0,1));
res += mat4(0.033492211252451,-0.062022596597672,-0.094851903617382,0.241849392652512,-0.064657285809517,0.140089973807335,0.073927916586399,-0.130088284611702,-0.097773745656013,-0.128287523984909,0.057786591351032,-0.042846042662859,-0.022624090313911,-0.098468050360680,0.020037638023496,0.024189732968807) * MODEL3_texOff(vec2(1,-1));
res += mat4(-0.473596990108490,-0.117231331765652,-0.099452085793018,-0.062210585922003,0.077386796474457,0.002554049715400,0.096514120697975,0.118249945342541,0.152108728885651,-0.240416243672371,0.095775224268436,0.010740702040493,0.029931221157312,-0.159036368131638,-0.076659820973873,0.076463207602501) * MODEL3_texOff(vec2(1,0));
res += mat4(0.037888333201408,0.093194231390953,0.019669847562909,0.070740804076195,-0.056313786655664,0.102275319397449,-0.040471926331520,0.140251576900482,0.056788921356201,-0.031344741582870,0.124032407999039,0.121280588209629,-0.000234214487136,-0.057255540043116,-0.036734722554684,0.054009955376387) * MODEL3_texOff(vec2(1,1));
res += mat4(-0.148049592971802,0.088101156055927,0.064352966845036,-0.036744192242622,0.059039589017630,0.019082736223936,-0.064149476587772,0.117532901465893,0.069857485592365,0.047045998275280,0.006008342374116,0.006476124282926,0.022412691265345,0.044089321047068,-0.093683637678623,-0.067932784557343) * MODEL4_texOff(vec2(-1,-1));
res += mat4(-0.139344081282616,0.057499736547470,0.194603055715561,-0.040803693234921,0.026810849085450,0.089344263076782,-0.178797751665115,-0.057150263339281,0.221821069717407,0.044923093169928,-0.105460770428181,0.130904197692871,-0.096104264259338,0.202928721904755,-0.108187057077885,-0.197205707430840) * MODEL4_texOff(vec2(-1,0));
res += mat4(-0.046027768403292,-0.017772376537323,0.256648957729340,-0.218759745359421,0.039722405374050,-0.138245582580566,-0.031893618404865,0.030797278508544,0.085409231483936,0.005783506669104,0.007247808389366,0.069777771830559,0.040801521390676,-0.189163655042648,-0.043516125530005,-0.047086257487535) * MODEL4_texOff(vec2(-1,1));
res += mat4(-0.046790681779385,0.041607428342104,-0.023881535977125,0.064659975469112,-0.078357413411140,-0.018429931253195,0.040447555482388,0.180988878011703,-0.082217201590538,-0.231042459607124,0.015688488259912,0.081470534205437,-0.103867806494236,0.048333998769522,-0.166305333375931,-0.073501251637936) * MODEL4_texOff(vec2(0,-1));
res += mat4(0.042511824518442,0.028728600591421,-0.127081543207169,0.419545412063599,0.001594329834916,-0.050470605492592,-0.403399795293808,-0.227380231022835,-0.128656372427940,0.403915196657181,0.114590898156166,-0.231439560651779,-0.112428314983845,-0.025838153436780,-0.171461075544357,0.144932076334953) * MODEL4_texOff(vec2(0,0));
res += mat4(0.080066524446011,0.030344957485795,-0.091669186949730,0.098490774631500,0.130064874887466,0.212838217616081,0.042653474956751,-0.093829482793808,-0.088734403252602,-0.094806455075741,0.067605726420879,-0.050035089254379,0.168858781456947,-0.058519996702671,-0.243863523006439,-0.036315750330687) * MODEL4_texOff(vec2(0,1));
res += mat4(-0.032638017088175,0.160582214593887,0.118689477443695,-0.022670244798064,-0.072290338575840,0.008999621495605,-0.021819857880473,0.047058578580618,-0.051893867552280,0.117213062942028,-0.067305035889149,-0.036012992262840,0.067700266838074,0.021827159449458,-0.003683789400384,-0.074793778359890) * MODEL4_texOff(vec2(1,-1));
res += mat4(0.173748001456261,-0.029619125649333,0.269390612840652,0.285949081182480,0.138348028063774,-0.150398343801498,-0.047692544758320,-0.202413514256477,-0.142410844564438,-0.102934032678604,0.053029812872410,0.109061710536480,0.080038972198963,-0.027239440008998,-0.081721492111683,-0.011330427601933) * MODEL4_texOff(vec2(1,0));
res += mat4(0.219266429543495,0.154044404625893,0.072413124144077,-0.090600974857807,0.091414734721184,-0.076150223612785,-0.020383683964610,-0.020321663469076,0.039036951959133,-0.055729728192091,0.089152552187443,-0.033357881009579,-0.118848793208599,0.011485510505736,-0.030411221086979,-0.131076365709305) * MODEL4_texOff(vec2(1,1));
res += mat4(0.112231403589249,-0.034879043698311,-0.011175276711583,-0.011327168904245,0.098688669502735,-0.019284009933472,-0.026737261563540,0.029738014563918,-0.101761728525162,0.016370613127947,-0.138792678713799,-0.034816402941942,0.085570149123669,-0.094986923038960,0.099884837865829,0.040094468742609) * MODEL5_texOff(vec2(-1,-1));
res += mat4(-0.033070769160986,-0.074371293187141,0.081771686673164,-0.026958506554365,0.171844333410263,0.174384117126465,-0.120323345065117,0.186490252614021,-0.097295813262463,0.061690319329500,0.039281815290451,-0.094893462955952,-0.304550766944885,0.276978611946106,0.181313261389732,-0.260826051235199) * MODEL5_texOff(vec2(-1,0));
res += mat4(0.010112892836332,0.053418800234795,-0.015078220516443,-0.008445256389678,-0.016392597928643,0.007134903222322,-0.012120853178203,0.089075841009617,0.114601328969002,-0.164331436157227,-0.005233505275100,0.025377180427313,0.179486557841301,0.109628431499004,-0.009131919592619,-0.025660164654255) * MODEL5_texOff(vec2(-1,1));
res += mat4(-0.169829517602921,-0.183914631605148,0.209064394235611,-0.121433153748512,-0.197002485394478,0.119104541838169,0.054214544594288,-0.154025956988335,-0.136692672967911,-0.162679165601730,0.072831980884075,0.021372189745307,-0.148653745651245,0.207005456089973,-0.067988164722919,-0.017647499218583) * MODEL5_texOff(vec2(0,-1));
res += mat4(0.140337362885475,0.078098803758621,-0.246302261948586,-0.445733726024628,-0.099124312400818,-0.343319475650787,-0.067299254238605,0.067230045795441,0.101350821554661,-0.227157011628151,-0.103252656757832,-0.125305742025375,-0.057571884244680,0.180655658245087,-0.501392245292664,0.331049293279648) * MODEL5_texOff(vec2(0,0));
res += mat4(-0.065243877470493,-0.244088843464851,-0.031522836536169,-0.132027924060822,0.032177507877350,0.217365875840187,-0.055270470678806,-0.054912108927965,-0.036911405622959,-0.494428604841232,0.120650127530098,0.095684342086315,0.152472108602524,-0.027556909248233,-0.063983984291553,0.111323371529579) * MODEL5_texOff(vec2(0,1));
res += mat4(-0.272012829780579,-0.035111956298351,-0.078221715986729,0.043296735733747,-0.094856560230255,-0.144767865538597,-0.086879186332226,0.046464681625366,0.036293588578701,-0.192921295762062,-0.067272283136845,0.085662297904491,0.129763707518578,0.226572394371033,-0.051631197333336,0.080664791166782) * MODEL5_texOff(vec2(1,-1));
res += mat4(-0.125846371054649,0.054660528898239,-0.080242514610291,-0.407871991395950,-0.129816398024559,-0.178840652108192,-0.014445456676185,0.005476147867739,-0.144203722476959,-0.098180472850800,-0.102292463183403,-0.101411752402782,0.134432226419449,0.112884469330311,0.075667992234230,0.160918369889259) * MODEL5_texOff(vec2(1,0));
res += mat4(-0.024699164554477,0.002529785502702,0.002246242715046,0.029879428446293,0.018250558525324,0.063310384750366,-0.007553409785032,-0.007259304635227,-0.080516308546066,-0.010776655748487,0.039062816649675,0.139703661203384,-0.320964008569717,-0.093284316360950,0.079874679446220,0.173919051885605) * MODEL5_texOff(vec2(1,1));
res += mat4(0.099835984408855,-0.087773740291595,-0.043872009962797,0.049620002508163,-0.095240533351898,-0.002703871577978,0.031447991728783,-0.018582463264465,-0.067510806024075,0.049696270376444,-0.006702706683427,-0.013970997184515,0.108737118542194,-0.058209590613842,-0.112204901874065,0.080243557691574) * MODEL6_texOff(vec2(-1,-1));
res += mat4(0.033808462321758,0.186447575688362,0.070123232901096,-0.017383633181453,-0.027458222582936,-0.277043133974075,0.173032253980637,-0.099141366779804,0.017127094790339,-0.100819669663906,-0.011825209483504,0.199482530355453,0.210187152028084,-0.082604542374611,0.067797370254993,0.085569031536579) * MODEL6_texOff(vec2(-1,0));
res += mat4(-0.043686844408512,-0.037588484585285,0.055507652461529,0.122635528445244,0.155677825212479,0.190832301974297,0.092893123626709,-0.126102313399315,-0.084243185818195,0.046426344662905,-0.045694101601839,0.047372888773680,0.000030246752431,0.172199890017509,-0.026174904778600,-0.015045486390591) * MODEL6_texOff(vec2(-1,1));
res += mat4(0.070840485394001,0.161238729953766,0.186113417148590,0.042768314480782,0.060825493186712,-0.277215480804443,-0.050186611711979,0.006342951674014,-0.140950649976730,0.145570203661919,0.024329693987966,-0.073143355548382,0.145753368735313,-0.141503199934959,0.164729610085487,-0.037594467401505) * MODEL6_texOff(vec2(0,-1));
res += mat4(0.209019899368286,0.188243761658669,0.105854548513889,0.179808989167213,0.194367110729218,0.013319392688572,0.032736804336309,-0.253741890192032,0.279390692710876,-0.247719526290894,-0.048095762729645,0.194741412997246,-0.368742793798447,-0.321878314018250,0.643380463123322,0.157557025551796) * MODEL6_texOff(vec2(0,0));
res += mat4(0.009925881400704,0.267424345016479,0.083787634968758,-0.105998277664185,-0.037969943135977,-0.172820195555687,0.094170309603214,-0.022726066410542,0.128626540303230,0.149308413267136,-0.171508118510246,-0.030292326584458,0.316558092832565,0.450092047452927,-0.009683367796242,-0.169463887810707) * MODEL6_texOff(vec2(0,1));
res += mat4(0.230099186301231,0.059227816760540,0.181927934288979,0.116957262158394,-0.091945134103298,0.117389462888241,0.013643080368638,-0.049206629395485,-0.218452498316765,-0.160827785730362,0.018970595672727,-0.170934021472931,0.088366881012917,-0.013300918973982,-0.003675673855469,-0.078336060047150) * MODEL6_texOff(vec2(1,-1));
res += mat4(0.229799479246140,0.299989342689514,0.196428656578064,-0.058777406811714,0.009048125706613,0.346552878618240,0.164185240864754,-0.238796487450600,-0.293842762708664,-0.166744515299797,0.191753581166267,0.091280356049538,0.052191123366356,0.228269904851913,-0.086292803287506,-0.033288329839706) * MODEL6_texOff(vec2(1,0));
res += mat4(0.166165962815285,-0.129507735371590,0.033135984092951,-0.045838031917810,-0.059374682605267,0.056766346096992,0.137102276086807,-0.119461931288242,0.085181467235088,0.063170596957207,0.013843342661858,-0.005553355440497,0.097645029425621,-0.091197110712528,0.037001952528954,0.014032536186278) * MODEL6_texOff(vec2(1,1));
res = max(res, vec4(0.0)) + vec4(0.691014885902405,0.074761994183064,0.199509993195534,0.152957975864410) * min(res, vec4(0.0));
return res;
}

//!HOOK LUMA
//!WHEN OUTPUT.w LUMA.w 2.200 * > OUTPUT.h LUMA.h 2.200 * > *
//!COMPONENTS 4
//!BIND MODEL1
//!BIND MODEL2
//!BIND MODEL3
//!BIND MODEL4
//!BIND MODEL5
//!BIND MODEL6
//!SAVE MODEL12
//!DESC [AiUpscale_HQ_Sharp_3x_LineArt] mapping 6_6

vec4 hook()
{
vec4 res = vec4(-0.118791438639164,0.132545739412308,0.046510793268681,0.282857626676559);
res += mat4(-0.056885752826929,0.022525854408741,0.108162172138691,-0.022014718502760,0.067875042557716,0.035436790436506,-0.021351488307118,-0.000091226931545,0.183218255639076,0.298518031835556,-0.050753079354763,-0.021517908200622,-0.025421546772122,0.063913248479366,0.002582878805697,0.059201650321484) * MODEL1_texOff(vec2(-1,-1));
res += mat4(-0.085410520434380,-0.181436762213707,-0.206956356763840,0.057076048105955,0.167122632265091,-0.014249511063099,-0.319033801555634,0.055653695017099,-0.066156826913357,-0.145057886838913,-0.265206515789032,-0.141378179192543,-0.011632219888270,-0.088415317237377,0.007629519794136,0.137600928544998) * MODEL1_texOff(vec2(-1,0));
res += mat4(-0.161336362361908,-0.050694402307272,-0.087802976369858,0.062845095992088,0.006462879478931,0.130417451262474,0.200769945979118,0.163762032985687,-0.009094480425119,-0.096088215708733,0.143678903579712,-0.029739022254944,-0.002604699460790,-0.198486149311066,-0.069452472031116,0.132076263427734) * MODEL1_texOff(vec2(-1,1));
res += mat4(0.096628084778786,0.060339074581861,0.085133410990238,-0.008429756388068,-0.046048194169998,-0.054242238402367,-0.174455538392067,0.047587644308805,0.069218091666698,-0.042886730283499,-0.353211998939514,-0.038332432508469,0.094711594283581,0.241615355014801,0.210123524069786,-0.110250599682331) * MODEL1_texOff(vec2(0,-1));
res += mat4(-0.035003755241632,0.001640313887037,-0.017529355362058,0.041861407458782,-0.013839876279235,-0.157491505146027,0.037445675581694,0.020267777144909,0.185995981097221,-0.103533796966076,0.109641648828983,-0.016314005479217,0.390839278697968,0.109298162162304,0.144806459546089,-0.546741902828217) * MODEL1_texOff(vec2(0,0));
res += mat4(-0.037108216434717,0.083181805908680,0.178780511021614,0.069112285971642,-0.075787849724293,-0.243316367268562,0.110966660082340,-0.011672640219331,0.064974583685398,-0.003647400764748,-0.133236870169640,0.060570724308491,0.088610976934433,0.107767336070538,-0.216599211096764,-0.008906585164368) * MODEL1_texOff(vec2(0,1));
res += mat4(0.000304380984744,0.075367867946625,-0.103123813867569,0.000362411170499,-0.113105863332748,0.005672033410519,0.126951634883881,0.021101709455252,-0.005152325145900,0.124356932938099,-0.081566303968430,-0.034124139696360,0.092258624732494,-0.030794641003013,-0.181861460208893,-0.035544432699680) * MODEL1_texOff(vec2(1,-1));
res += mat4(-0.074492126703262,-0.228252947330475,0.012263470329344,0.010067042894661,-0.042379330843687,0.050180207937956,0.034788656979799,-0.116991512477398,-0.236998021602631,-0.361022025346756,0.206129655241966,0.144459515810013,0.043235864490271,0.088252574205399,0.007832547649741,0.083491630852222) * MODEL1_texOff(vec2(1,0));
res += mat4(-0.110142432153225,-0.246712088584900,0.091016948223114,0.005176554899663,0.049265220761299,-0.087715215981007,-0.027623603120446,-0.191954731941223,-0.010045569390059,-0.024920033290982,0.081560343503952,0.182594567537308,-0.093632854521275,0.078242205083370,0.008720288053155,0.082428872585297) * MODEL1_texOff(vec2(1,1));
res += mat4(-0.108182549476624,-0.217831343412399,-0.128072053194046,0.097332671284676,0.020466474816203,0.178060263395309,-0.296048313379288,0.030876407399774,0.077563203871250,-0.043530266731977,0.012488059699535,0.037624578922987,0.005795650184155,0.126333698630333,-0.028574841096997,0.086844049394131) * MODEL2_texOff(vec2(-1,-1));
res += mat4(-0.049941010773182,0.165325701236725,0.036164000630379,0.210572764277458,-0.057814411818981,-0.299839556217194,-0.118936270475388,0.008440754376352,0.179719701409340,0.237821027636528,0.191185504198074,0.081880934536457,0.011942635290325,0.163147658109665,0.100437335669994,0.101995579898357) * MODEL2_texOff(vec2(-1,0));
res += mat4(-0.088174857199192,0.053979039192200,-0.132971554994583,0.023670911788940,-0.146861627697945,-0.008468044921756,-0.250073671340942,-0.074128016829491,0.073240540921688,0.128457352519035,0.034601982682943,0.043748166412115,0.042474973946810,0.083784930408001,-0.013781441375613,0.044439628720284) * MODEL2_texOff(vec2(-1,1));
res += mat4(-0.043496623635292,-0.063221849501133,-0.054743051528931,0.092910937964916,0.081480890512466,0.027540318667889,-0.148567512631416,0.033644158393145,0.018110368400812,0.044630881398916,0.252276033163071,0.015880964696407,0.123026266694069,0.033698797225952,-0.118945106863976,-0.096628122031689) * MODEL2_texOff(vec2(0,-1));
res += mat4(-0.059482686221600,-0.358722627162933,-0.102863460779190,0.204350158572197,0.004440931603312,-0.017156472429633,0.171448126435280,0.052293658256531,-0.186450749635696,-0.108240045607090,0.299978435039520,-0.047427795827389,0.225108295679092,-0.116531848907471,-0.243273422122002,-0.154637321829796) * MODEL2_texOff(vec2(0,0));
res += mat4(0.009996113367379,0.032541185617447,0.216539919376373,0.150441989302635,0.044141486287117,0.094602689146996,-0.015402263961732,-0.058907266706228,-0.042420003563166,0.001336217625067,0.097170203924179,-0.043526425957680,0.050257731229067,-0.217823371291161,0.002247902099043,-0.030673740431666) * MODEL2_texOff(vec2(0,1));
res += mat4(0.084095731377602,0.069248966872692,0.131158828735352,-0.046253181993961,-0.026129266247153,-0.084947757422924,-0.112644955515862,-0.013481795787811,0.138324707746506,0.223764851689339,0.108695127069950,-0.029348667711020,0.042174983769655,-0.056215297430754,-0.023101851344109,-0.076808914542198) * MODEL2_texOff(vec2(1,-1));
res += mat4(0.104529738426208,-0.033538144081831,-0.140925705432892,0.102823138237000,0.027280006557703,0.109951287508011,0.201365903019905,-0.029051965102553,0.210504770278931,-0.001537627074867,-0.141817167401314,-0.087623685598373,0.117944538593292,-0.011802723631263,0.048232171684504,-0.104624167084694) * MODEL2_texOff(vec2(1,0));
res += mat4(-0.009265906177461,0.027764255180955,0.185343101620674,0.054195009171963,0.077286414802074,-0.069344900548458,0.131461128592491,0.048416212201118,-0.016141761094332,-0.115742079913616,-0.041219811886549,-0.053356464952230,0.015657886862755,0.046483270823956,0.068365268409252,0.002212116960436) * MODEL2_texOff(vec2(1,1));
res += mat4(-0.042902633547783,0.072884745895863,-0.095890112221241,0.005978397093713,-0.084507264196873,-0.065425299108028,0.074612341821194,0.007069211918861,0.224641174077988,0.213725358247757,0.262502998113632,-0.034410685300827,0.012103497982025,-0.247659161686897,0.015359767712653,0.007894068025053) * MODEL3_texOff(vec2(-1,-1));
res += mat4(-0.063673265278339,0.081591390073299,0.047461241483688,-0.044159416109324,-0.177656725049019,-0.112734094262123,0.113550856709480,0.109071373939514,0.087019026279449,-0.040133316069841,-0.199892312288284,-0.092719309031963,0.099829733371735,-0.074028715491295,-0.078540109097958,-0.104196973145008) * MODEL3_texOff(vec2(-1,0));
res += mat4(-0.074608035385609,0.121184334158897,-0.117053434252739,-0.060011513531208,-0.146542131900787,-0.007547029759735,-0.050776388496161,0.115652151405811,0.003046140307561,-0.085009798407555,0.026002008467913,0.073708415031433,0.184532791376114,0.009603217244148,0.096096076071262,-0.058119073510170) * MODEL3_texOff(vec2(-1,1));
res += mat4(-0.021585302427411,-0.008391910232604,-0.169165477156639,-0.025230629369617,0.004972842056304,0.010456819087267,0.209527939558029,0.133005261421204,0.236389160156250,0.003834799164906,-0.160763099789619,-0.015271201729774,-0.047814950346947,0.037350177764893,0.242871865630150,0.113002806901932) * MODEL3_texOff(vec2(0,-1));
res += mat4(0.252164602279663,0.091989696025848,-0.424792587757111,-0.284270256757736,0.252136707305908,0.135164558887482,-0.359640151262283,0.073138304054737,0.152034267783165,0.063394919037819,-0.092131465673447,-0.065496265888214,0.315623968839645,0.202256768941879,0.142908468842506,-0.234978094696999) * MODEL3_texOff(vec2(0,0));
res += mat4(0.040635988116264,-0.225419655442238,0.153813213109970,-0.156066700816154,0.034715760499239,-0.129371866583824,0.358848541975021,0.126167267560959,-0.015371482819319,-0.078128062188625,0.386265188455582,0.007751372177154,0.085931755602360,0.130855903029442,-0.130516573786736,-0.152107596397400) * MODEL3_texOff(vec2(0,1));
res += mat4(-0.100076235830784,0.109309382736683,0.035083040595055,-0.072250880300999,-0.001570435357280,0.087033219635487,0.116375654935837,0.048003595322371,0.082861587405205,0.012005507946014,0.058249156922102,0.009607481770217,0.100714057683945,0.037969812750816,-0.014019952155650,0.073573105037212) * MODEL3_texOff(vec2(1,-1));
res += mat4(-0.133671253919601,-0.243739113211632,-0.033240288496017,-0.003413500497118,0.054726388305426,0.022056976333261,-0.124309390783310,0.018419835716486,0.069446891546249,0.111672408878803,0.124921508133411,-0.014794060029089,0.148734807968140,0.044991645962000,0.060059498995543,-0.044444117695093) * MODEL3_texOff(vec2(1,0));
res += mat4(-0.041664548218250,0.049160510301590,0.009090743027627,-0.049086216837168,-0.086042270064354,-0.089880213141441,0.169274404644966,-0.094716563820839,0.074825063347816,0.059344418346882,0.132766142487526,0.016537383198738,0.131488129496574,-0.078501239418983,-0.021819051355124,-0.017570717260242) * MODEL3_texOff(vec2(1,1));
res += mat4(-0.054892938584089,-0.087392047047615,0.009345226921141,0.033994592726231,0.061061132699251,-0.108299978077412,-0.051237013190985,-0.052187774330378,0.009296990931034,0.130752488970757,0.110979728400707,-0.004135404713452,-0.125073179602623,-0.054630059748888,0.009985140524805,0.103801168501377) * MODEL4_texOff(vec2(-1,-1));
res += mat4(0.170327663421631,0.171265840530396,0.210619062185287,0.107566654682159,-0.074096225202084,-0.127554655075073,-0.059290938079357,-0.069940164685249,-0.134410679340363,-0.283713102340698,-0.050226602703333,-0.092885747551918,-0.071387030184269,0.021537769585848,0.009083959273994,0.246024489402771) * MODEL4_texOff(vec2(-1,0));
res += mat4(0.098321430385113,0.089068010449409,-0.037319801747799,0.059438053518534,-0.036431424319744,0.052997823804617,0.061395630240440,0.044857498258352,-0.086556501686573,-0.101606361567974,0.013629996217787,-0.049056801944971,-0.203773066401482,0.046108905225992,-0.057355429977179,0.108072645962238) * MODEL4_texOff(vec2(-1,1));
res += mat4(-0.107624560594559,-0.124253116548061,0.271050333976746,0.065440200269222,0.091543950140476,-0.012672649696469,0.324044734239578,-0.138682663440704,0.091786965727806,-0.020454956218600,0.172754213213921,-0.038090568035841,-0.088121801614761,-0.019619232043624,0.156150460243225,0.140455216169357) * MODEL4_texOff(vec2(0,-1));
res += mat4(-0.027981143444777,-0.019399279728532,0.171662181615829,0.005698183085769,-0.255934536457062,0.150666400790215,-0.041690841317177,-0.048473872244358,0.188896641135216,0.279140859842300,-0.019354796037078,0.061259251087904,0.174776762723923,0.150717809796333,-0.015661593526602,-0.663163125514984) * MODEL4_texOff(vec2(0,0));
res += mat4(0.147329986095428,0.056208305060863,-0.089846804738045,-0.088165037333965,0.048941079527140,0.015386348590255,0.056064747273922,-0.018229430541396,0.003752404823899,0.176349461078644,-0.064384534955025,0.019134432077408,-0.465264320373535,-0.087985560297966,0.034641943871975,0.346111923456192) * MODEL4_texOff(vec2(0,1));
res += mat4(-0.026221815496683,-0.025670055299997,0.122967265546322,0.009782410226762,0.009937066584826,0.035441819578409,0.145270496606827,-0.078540287911892,-0.070898398756981,-0.017787192016840,-0.326940327882767,-0.009141474030912,0.002350365975872,-0.021098256111145,0.093393504619598,0.008327932097018) * MODEL4_texOff(vec2(1,-1));
res += mat4(0.134681388735771,-0.006789989303797,0.468711376190186,-0.139957159757614,-0.075236953794956,-0.209362894296646,0.007899023592472,-0.013909327797592,0.017109174281359,0.010887549258769,0.137573167681694,0.059674032032490,-0.017643138766289,0.028272651135921,0.091566458344460,0.234813958406448) * MODEL4_texOff(vec2(1,0));
res += mat4(0.397919803857803,-0.018908880650997,-0.010917330160737,-0.105048969388008,0.059408128261566,0.020073069259524,-0.050150617957115,-0.044479563832283,0.048121307045221,0.006259524729103,0.067520819604397,0.032644737511873,-0.139529123902321,-0.087004952132702,0.080712802708149,0.089053943753242) * MODEL4_texOff(vec2(1,1));
res += mat4(-0.092985965311527,-0.096672058105469,-0.020537678152323,0.088284313678741,-0.023066826164722,-0.041715022176504,-0.014943988062441,0.011968109756708,0.071721062064171,-0.027315922081470,-0.053165707737207,0.073078431189060,-0.059987548738718,-0.124721318483353,-0.095855645835400,0.009397635236382) * MODEL5_texOff(vec2(-1,-1));
res += mat4(-0.093170821666718,-0.039129339158535,-0.025682250037789,0.090057663619518,-0.098789088428020,-0.101702615618706,-0.166358903050423,-0.079086869955063,0.070759154856205,0.162838697433472,-0.062809541821480,0.016341626644135,0.050966523587704,0.160412475466728,0.289479762315750,0.166577860713005) * MODEL5_texOff(vec2(-1,0));
res += mat4(-0.079773135483265,-0.090693011879921,-0.037595942616463,0.004987746011466,0.044812683016062,-0.005317274015397,0.148262247443199,-0.032525472342968,0.029619123786688,0.024752994999290,0.084339253604412,-0.013793705962598,-0.096379652619362,0.454603552818298,-0.128562003374100,-0.062651775777340) * MODEL5_texOff(vec2(-1,1));
res += mat4(0.081897988915443,0.047581028193235,0.156227201223373,0.244678571820259,-0.008874685503542,0.042964302003384,0.191956207156181,0.125799953937531,-0.090102776885033,0.081838041543961,-0.272973775863647,0.013238380663097,-0.066745609045029,0.093278914690018,-0.114050902426243,0.035283006727695) * MODEL5_texOff(vec2(0,-1));
res += mat4(-0.412874251604080,-0.079898424446583,-0.169678315520287,0.176599591970444,0.212079539895058,0.031253818422556,0.150135412812233,0.012945007532835,-0.090191647410393,-0.077752180397511,-0.339587599039078,-0.077152848243713,-0.033103574067354,-0.008427914232016,0.016234863549471,0.067607358098030) * MODEL5_texOff(vec2(0,0));
res += mat4(-0.071953892707825,0.098319530487061,0.116102263331413,0.044935453683138,0.139950409531593,0.078640438616276,-0.139263957738876,-0.028643609955907,0.030540760606527,-0.330457091331482,0.342741459608078,0.077441602945328,-0.006153244525194,0.322687625885010,-0.072651408612728,-0.037451379001141) * MODEL5_texOff(vec2(0,1));
res += mat4(-0.173346802592278,-0.098710767924786,0.038868259638548,0.036328911781311,-0.063904710114002,0.073731362819672,0.022545525804162,0.135134324431419,0.004111555870622,0.045406088232994,-0.347144126892090,-0.106627523899078,0.125573828816414,0.182829663157463,-0.527255475521088,-0.074187271296978) * MODEL5_texOff(vec2(1,-1));
res += mat4(-0.119224131107330,0.113273024559021,0.055480133742094,0.099696844816208,-0.157162815332413,-0.234601706266403,-0.179208636283875,0.116021469235420,-0.025165991857648,-0.023264797404408,-0.407670885324478,-0.021032791584730,0.119511283934116,0.132003471255302,-0.078431278467178,-0.063919156789780) * MODEL5_texOff(vec2(1,0));
res += mat4(-0.115748740732670,-0.042424745857716,0.032498203217983,0.045823305845261,0.005603683181107,0.158378928899765,-0.146317824721336,0.004325353074819,-0.042241338640451,-0.241594091057777,0.043185822665691,0.069520562887192,-0.012920825742185,-0.044152468442917,0.166986808180809,0.011260903440416) * MODEL5_texOff(vec2(1,1));
res += mat4(0.009340143762529,-0.119510792195797,0.035078823566437,-0.027410386130214,-0.033680185675621,0.158328682184219,-0.098815597593784,-0.042307570576668,0.129689797759056,-0.064894177019596,0.022426258772612,0.036083288490772,-0.056286644190550,0.084029547870159,0.135961979627609,0.017857320606709) * MODEL6_texOff(vec2(-1,-1));
res += mat4(-0.029710179194808,0.048670504242182,0.114673331379890,-0.057871989905834,0.003369206562638,-0.073115102946758,-0.002139597432688,0.065100476145744,0.151991128921509,0.040572568774223,0.208767399191856,-0.012634662911296,-0.147586390376091,-0.003475335426629,-0.043513074517250,0.009376386180520) * MODEL6_texOff(vec2(-1,0));
res += mat4(-0.086667448282242,-0.011655453592539,-0.075699657201767,-0.098861023783684,-0.019233871251345,-0.212915495038033,-0.072405628859997,-0.021090565249324,0.060558892786503,-0.171478062868118,-0.079028181731701,-0.043961070477962,0.059601247310638,-0.122510045766830,-0.052491601556540,-0.040964100509882) * MODEL6_texOff(vec2(-1,1));
res += mat4(0.049699895083904,0.021100386977196,0.146373242139816,-0.120679572224617,0.107921712100506,-0.027868064120412,-0.449818074703217,-0.101012952625751,-0.078231178224087,0.164794191718102,-0.202435746788979,-0.041427563875914,-0.048119939863682,0.013174386695027,-0.211411863565445,-0.014596018008888) * MODEL6_texOff(vec2(0,-1));
res += mat4(-0.002153604058549,0.030313728377223,0.254095286130905,-0.110640287399292,-0.219989314675331,0.021209537982941,-0.229527488350868,0.047762624919415,0.059967674314976,-0.176629096269608,0.185246273875237,-0.155448153614998,-0.024656204506755,-0.324364185333252,0.431639313697815,0.201324775815010) * MODEL6_texOff(vec2(0,0));
res += mat4(-0.004666298627853,-0.009773206897080,0.092642664909363,-0.033920809626579,-0.083960846066475,-0.246740236878395,0.192608878016472,0.033225595951080,0.094595335423946,-0.056798323988914,-0.157987937331200,-0.066286332905293,0.038132067769766,0.097748935222626,-0.158826604485512,-0.184579998254776) * MODEL6_texOff(vec2(0,1));
res += mat4(0.037380076944828,0.112187929451466,0.094060324132442,-0.106843806803226,0.096487671136856,-0.049994546920061,-0.187192574143410,-0.046462111175060,0.015534665435553,-0.125686928629875,0.039610646665096,0.031519465148449,-0.019959270954132,-0.043064653873444,-0.058544602245092,-0.074351817369461) * MODEL6_texOff(vec2(1,-1));
res += mat4(0.216672569513321,-0.005802521016449,0.019974386319518,-0.142584398388863,0.047992981970310,0.315607577562332,0.031998157501221,-0.080540202558041,-0.079249680042267,-0.212032452225685,0.057920251041651,-0.040040649473667,0.061166778206825,0.111641876399517,0.119152575731277,-0.078281976282597) * MODEL6_texOff(vec2(1,0));
res += mat4(-0.094482302665710,-0.023969985544682,0.140691205859184,-0.027011806145310,-0.000385443272535,0.056789536029100,0.073324158787727,-0.079665608704090,0.089718155562878,0.033131249248981,-0.134792044758797,-0.020762925967574,0.023287620395422,0.039229083806276,-0.111186943948269,-0.100762873888016) * MODEL6_texOff(vec2(1,1));
res = max(res, vec4(0.0)) + vec4(0.448963254690170,-0.086255669593811,0.005980176851153,0.838484346866608) * min(res, vec4(0.0));
return res;
}

//!HOOK LUMA
//!WHEN OUTPUT.w LUMA.w 2.200 * > OUTPUT.h LUMA.h 2.200 * > *
//!COMPONENTS 4
//!BIND MODEL7
//!BIND MODEL8
//!BIND MODEL9
//!BIND MODEL10
//!BIND MODEL11
//!BIND MODEL12
//!SAVE MODEL1
//!DESC [AiUpscale_HQ_Sharp_3x_LineArt] mapping 7_1

vec4 hook()
{
vec4 res = vec4(-0.005180533509701,-0.238369762897491,-0.183362200856209,0.157889485359192);
res += mat4(-0.033380944281816,0.009425084106624,-0.002956355921924,-0.151392534375191,-0.003354905871674,0.060432638972998,0.206393420696259,0.040785938501358,0.087676346302032,-0.019315654411912,0.019958026707172,0.184985816478729,-0.038890901952982,-0.022405177354813,-0.003877811832353,0.021934248507023) * MODEL7_texOff(vec2(-1,-1));
res += mat4(-0.001025446457788,0.200346231460571,-0.162918895483017,0.080729857087135,-0.085105881094933,0.067787937819958,0.287289083003998,-0.040493160486221,-0.168286532163620,0.075852565467358,0.220389410853386,-0.149397924542427,-0.062671765685081,-0.071435883641243,0.172755137085915,-0.199027895927429) * MODEL7_texOff(vec2(-1,0));
res += mat4(0.070433400571346,-0.048456940799952,0.291723638772964,0.070998623967171,0.049158617854118,-0.048087321221828,-0.312162697315216,0.077662594616413,-0.046567127108574,0.076079629361629,-0.147372752428055,0.011550651863217,-0.010233107022941,0.079575233161449,0.003495336044580,-0.057754360139370) * MODEL7_texOff(vec2(-1,1));
res += mat4(-0.305095374584198,0.043024774640799,-0.052086379379034,-0.073902167379856,-0.133540943264961,-0.202846810221672,0.001708285999484,0.192189753055573,0.037869546562433,0.131969258189201,0.117011353373528,0.098628617823124,-0.013066299259663,0.125296875834465,0.060036458075047,-0.051157422363758) * MODEL7_texOff(vec2(0,-1));
res += mat4(0.076368659734726,0.500130832195282,-0.127509549260139,-0.048383433371782,-0.294891059398651,-0.239337086677551,0.353600144386292,-0.029467741027474,-0.080082476139069,-0.089937940239906,0.140139073133469,-0.260723441839218,-0.172320500016212,-0.089007712900639,0.012215971946716,-0.314027965068817) * MODEL7_texOff(vec2(0,0));
res += mat4(0.048679124563932,-0.040318872779608,0.189474806189537,0.144040986895561,0.033057410269976,0.112735755741596,-0.252898514270782,-0.157438129186630,-0.169153079390526,0.134132504463196,0.206789880990982,0.006143346894532,0.052145715802908,0.070242337882519,-0.089963890612125,-0.091829478740692) * MODEL7_texOff(vec2(0,1));
res += mat4(-0.088544204831123,-0.011220576241612,-0.024252675473690,0.105110093951225,-0.046750966459513,-0.001160417334177,-0.009709462523460,0.086270086467266,0.133340761065483,-0.080962918698788,0.110388204455376,0.064359843730927,0.128628998994827,0.039394199848175,0.081824056804180,-0.049854259938002) * MODEL7_texOff(vec2(1,-1));
res += mat4(-0.115418933331966,0.322355687618256,0.042354054749012,0.005538843106478,-0.128261923789978,0.072046592831612,0.033079050481319,0.092880398035049,0.056651882827282,-0.031354553997517,-0.011962399818003,0.268148452043533,0.190391570329666,-0.401388496160507,-0.011110462248325,0.200409337878227) * MODEL7_texOff(vec2(1,0));
res += mat4(-0.068110130727291,-0.061501529067755,-0.013658409938216,0.058756701648235,0.111637420952320,0.062964066863060,0.035046312958002,-0.053219925612211,-0.037621710449457,-0.188564300537109,-0.024658555164933,0.106711976230145,-0.043167371302843,0.235906347632408,0.033247668296099,0.017192352563143) * MODEL7_texOff(vec2(1,1));
res += mat4(-0.098746865987778,-0.014768943190575,0.002634723437950,0.006368206348270,0.141871452331543,0.031082328408957,-0.132860839366913,-0.059468805789948,0.098506547510624,0.028664175421000,0.165198758244514,-0.108717404305935,-0.027651919052005,-0.133378922939301,0.022327475249767,0.025550061836839) * MODEL8_texOff(vec2(-1,-1));
res += mat4(-0.131282120943069,-0.021683381870389,0.020729942247272,-0.269104003906250,0.056117855012417,-0.020997362211347,0.011235506273806,0.040015079081059,-0.252625793218613,0.099714495241642,0.213480710983276,-0.132738709449768,0.035189379006624,0.101287782192230,0.100922189652920,-0.204868122935295) * MODEL8_texOff(vec2(-1,0));
res += mat4(0.070361621677876,-0.069136112928391,0.008875260129571,-0.059673875570297,-0.052133910357952,0.039090629667044,0.094533838331699,0.133709743618965,-0.177687913179398,0.059463668614626,-0.044818449765444,-0.114543229341507,-0.032970957458019,0.023501671850681,0.012602697126567,0.045392040163279) * MODEL8_texOff(vec2(-1,1));
res += mat4(0.009253057651222,-0.213091522455215,-0.125164061784744,-0.092635408043861,0.169025436043739,0.060575909912586,-0.040802624076605,0.059757456183434,-0.035717576742172,-0.031010465696454,0.040497366338968,-0.149629086256027,0.058864504098892,-0.223733291029930,-0.097093790769577,0.074656747281551) * MODEL8_texOff(vec2(0,-1));
res += mat4(0.019193535670638,0.010904557071626,-0.060442626476288,0.087781049311161,-0.077839381992817,0.069774478673935,0.152913853526115,0.087908074259758,0.101003788411617,0.261916190385818,-0.014752240851521,-0.416823536157608,0.197739422321320,-0.098774224519730,-0.017361322417855,-0.085013441741467) * MODEL8_texOff(vec2(0,0));
res += mat4(-0.015816135331988,-0.046902086585760,0.424754738807678,0.132746726274490,-0.084924682974815,-0.224131613969803,-0.079255588352680,0.032011032104492,-0.054148185998201,0.028671422973275,0.175708174705505,-0.090911217033863,-0.013928579166532,-0.087881617248058,-0.004177642520517,0.079483821988106) * MODEL8_texOff(vec2(0,1));
res += mat4(0.060527525842190,-0.036088481545448,0.075043775141239,-0.085114337503910,-0.047672852873802,0.108807735145092,0.014974421821535,0.034338202327490,0.152135089039803,0.028678795322776,0.047795373946428,-0.049669381231070,0.079414986073971,-0.088303364813328,-0.004996943753213,0.011995260603726) * MODEL8_texOff(vec2(1,-1));
res += mat4(-0.165745615959167,0.103018946945667,-0.044931266456842,0.124068573117256,-0.062804304063320,0.076463878154755,0.048492789268494,-0.214976489543915,0.163327589631081,-0.063009805977345,-0.005301223136485,0.084501318633556,0.026511590927839,-0.043875988572836,-0.065785177052021,0.180489242076874) * MODEL8_texOff(vec2(1,0));
res += mat4(-0.138841450214386,-0.208762645721436,0.067383646965027,0.161265239119530,-0.072372622787952,0.060876931995153,-0.015737935900688,0.025629524141550,-0.027354918420315,0.030752997845411,0.008575773797929,-0.065309822559357,0.027136299759150,0.060228377580643,-0.002760324394330,0.094333648681641) * MODEL8_texOff(vec2(1,1));
res += mat4(-0.011937467381358,-0.039212360978127,0.221469476819038,-0.013031609356403,0.088821999728680,0.016306793317199,-0.024206111207604,0.024187935516238,0.157322764396667,0.032862327992916,0.213745623826981,-0.060127265751362,0.100142307579517,-0.056386079639196,0.109181039035320,-0.005496517755091) * MODEL9_texOff(vec2(-1,-1));
res += mat4(0.036270730197430,-0.197614014148712,-0.096733428537846,-0.018727779388428,-0.004006159957498,-0.097510561347008,-0.067784368991852,0.291068702936172,-0.030953401699662,-0.135796263813972,-0.112391404807568,-0.115681499242783,-0.220943495631218,-0.042604744434357,0.117479041218758,-0.168629169464111) * MODEL9_texOff(vec2(-1,0));
res += mat4(-0.084263563156128,0.099753633141518,0.059866834431887,0.083373703062534,0.081142053008080,0.011976405978203,0.088432520627975,0.052442260086536,0.015858609229326,0.000760390481446,-0.115186162292957,-0.038580521941185,0.044660497456789,-0.042918063700199,-0.100732177495956,0.133196383714676) * MODEL9_texOff(vec2(-1,1));
res += mat4(0.303461611270905,0.240551024675369,0.086250014603138,0.124829210340977,0.234391361474991,0.062072075903416,-0.226330608129501,-0.000105048980913,0.418979763984680,0.033670600503683,0.063315026462078,0.039983991533518,-0.051681455224752,0.033771764487028,-0.140885487198830,0.034652993083000) * MODEL9_texOff(vec2(0,-1));
res += mat4(0.047287207096815,-0.441561937332153,0.112298667430878,0.152280971407890,-0.144997149705887,-0.024391237646341,0.278984516859055,0.005509682465345,0.010998202487826,-0.373920232057571,-0.254836678504944,-0.092681556940079,-0.277887612581253,-0.161376520991325,0.075440593063831,-0.010642523877323) * MODEL9_texOff(vec2(0,0));
res += mat4(-0.030389284715056,0.023127878084779,0.136611044406891,-0.159029826521873,-0.002285927301273,0.101130880415440,0.127453818917274,-0.031817473471165,0.052806444466114,0.081859052181244,-0.086852818727493,-0.018467398360372,-0.029400195926428,0.036220572888851,0.024102078750730,0.078709490597248) * MODEL9_texOff(vec2(0,1));
res += mat4(-0.075796820223331,0.141382128000259,-0.005230903625488,0.034855477511883,-0.061163455247879,-0.075203917920589,-0.061436947435141,0.082842610776424,0.187423467636108,0.184979811310768,-0.123942188918591,0.034028772264719,0.188550531864166,-0.058842528611422,0.009982846677303,-0.049630869179964) * MODEL9_texOff(vec2(1,-1));
res += mat4(0.058927256613970,-0.234569132328033,-0.087544664740562,0.031457774341106,-0.054963480681181,0.053358007222414,-0.029005220159888,-0.374757975339890,0.009730198420584,-0.066159732639790,-0.070830918848515,-0.124426275491714,0.034518666565418,-0.091110639274120,-0.016741747036576,0.084336385130882) * MODEL9_texOff(vec2(1,0));
res += mat4(0.069379940629005,-0.184181615710258,-0.126559689640999,0.060842193663120,-0.068925470113754,0.043537404388189,0.159363225102425,-0.113791540265083,-0.008953489363194,-0.145072966814041,-0.039073746651411,0.068105980753899,-0.064384832978249,-0.006663179490715,-0.046326126903296,0.001489802496508) * MODEL9_texOff(vec2(1,1));
res += mat4(-0.101022593677044,-0.045596625655890,0.040463972836733,0.189535140991211,-0.177084207534790,0.004546963144094,0.052837017923594,0.109949119389057,0.313224822282791,-0.066952571272850,0.116389095783234,-0.026830842718482,0.108874820172787,0.053065452724695,-0.252694934606552,-0.044979110360146) * MODEL10_texOff(vec2(-1,-1));
res += mat4(0.020434018224478,0.025039039552212,-0.118917614221573,0.138474017381668,0.027915200218558,-0.058518949896097,-0.126447856426239,0.458604395389557,-0.093067906796932,0.110607236623764,0.407971978187561,-0.152737051248550,0.152297705411911,0.004746928811073,0.154807657003403,-0.007621363271028) * MODEL10_texOff(vec2(-1,0));
res += mat4(-0.043497595936060,0.022802252322435,-0.230733245611191,-0.035737141966820,-0.106788545846939,0.092653378844261,0.117520809173584,0.192733556032181,-0.065787620842457,0.136930465698242,-0.111673578619957,-0.017036272212863,0.079691350460052,-0.089208543300629,-0.084891110658646,-0.138559654355049) * MODEL10_texOff(vec2(-1,1));
res += mat4(0.360728591680527,0.087941117584705,0.011230555362999,0.146231248974800,0.179989516735077,-0.075702317059040,0.075426846742630,0.133956372737885,-0.060378465801477,-0.008055385202169,-0.113381735980511,-0.095198191702366,0.023667488247156,-0.068148978054523,-0.071937076747417,-0.013791779056191) * MODEL10_texOff(vec2(0,-1));
res += mat4(0.102783195674419,-0.407769262790680,0.101343020796776,0.315348923206329,-0.383309781551361,-0.120128586888313,-0.028718780726194,0.089480720460415,-0.015515146777034,0.098867177963257,-0.030434798449278,0.098991863429546,-0.253663808107376,-0.020685644820333,-0.198686420917511,-0.031192878261209) * MODEL10_texOff(vec2(0,0));
res += mat4(-0.012491764500737,0.029700331389904,-0.000236953783315,0.076547175645828,-0.064914777874947,-0.167520076036453,-0.283333092927933,0.105222642421722,0.077570118010044,0.050704102963209,0.084826454520226,-0.093056678771973,-0.038242146372795,-0.061183426529169,-0.278441995382309,0.030697895213962) * MODEL10_texOff(vec2(0,1));
res += mat4(-0.149009883403778,-0.002526368713006,0.058548908680677,-0.015229202806950,-0.060071136802435,0.014665014110506,-0.046425767242908,0.020820045843720,0.338620275259018,0.111819237470627,-0.007928358390927,-0.010291347280145,0.157024994492531,-0.139314889907837,0.038322001695633,0.026425385847688) * MODEL10_texOff(vec2(1,-1));
res += mat4(-0.017893636599183,0.091912820935249,0.010619469918311,0.067658595740795,-0.137181714177132,-0.103876359760761,0.004189305473119,0.050744615495205,0.169983953237534,-0.191086456179619,-0.114929489791393,0.267663687467575,-0.085297353565693,0.005938407965004,0.027941428124905,-0.012254042550921) * MODEL10_texOff(vec2(1,0));
res += mat4(-0.009523700922728,0.001906807534397,-0.092525653541088,-0.064963273704052,-0.009098839014769,-0.057206783443689,-0.004340866114944,-0.104874834418297,-0.059809256345034,-0.034922871738672,-0.072731107473373,0.053891472518444,-0.144737973809242,0.098036810755730,-0.058970633894205,-0.095743939280510) * MODEL10_texOff(vec2(1,1));
res += mat4(-0.096341468393803,-0.001694226055406,-0.066375724971294,-0.006240542978048,0.053260624408722,0.015163898468018,-0.233862861990929,0.078723117709160,-0.043073140084743,0.130127027630806,0.195476010441780,-0.151274710893631,0.122341126203537,0.008436164818704,0.223602145910263,-0.196045398712158) * MODEL11_texOff(vec2(-1,-1));
res += mat4(0.150696769356728,-0.015008619986475,-0.197271272540092,0.289135396480560,-0.122102960944176,-0.032551858574152,-0.095857016742229,-0.112291827797890,-0.123387686908245,0.021066142246127,-0.149574220180511,-0.193059220910072,-0.031524315476418,0.065601080656052,-0.351478278636932,0.040805809199810) * MODEL11_texOff(vec2(-1,0));
res += mat4(-0.115936376154423,0.103623270988464,0.456185340881348,0.040890317410231,-0.128840729594231,0.054553851485252,0.359614521265030,0.007916246540844,-0.046205576509237,0.019992347806692,-0.081018939614296,-0.102888546884060,0.046936705708504,-0.022993430495262,-0.082165785133839,0.086836263537407) * MODEL11_texOff(vec2(-1,1));
res += mat4(0.111864589154720,-0.024087723344564,-0.144499629735947,0.032115664333105,0.173037350177765,0.194869190454483,-0.161906719207764,0.176300927996635,0.031591922044754,0.181502848863602,0.081331074237823,0.194065243005753,0.376192778348923,0.106169298291206,0.008393612690270,0.179948076605797) * MODEL11_texOff(vec2(0,-1));
res += mat4(0.279644042253494,0.101716466248035,-0.033452726900578,0.110456563532352,-0.217145219445229,0.330226153135300,-0.282516419887543,-0.176965296268463,0.141810700297356,-0.342120349407196,-0.097323253750801,0.025870520621538,-0.070441268384457,-0.512461245059967,-0.309817075729370,0.103910833597183) * MODEL11_texOff(vec2(0,0));
res += mat4(-0.084542199969292,-0.136605158448219,-0.014770507812500,0.107056684792042,0.007458985317498,-0.051114812493324,0.252006232738495,0.067313157021999,-0.040362842381001,0.018935989588499,0.078368462622166,0.182114660739899,0.038221839815378,-0.100145310163498,-0.114844210445881,-0.025577893480659) * MODEL11_texOff(vec2(0,1));
res += mat4(-0.067249871790409,-0.068526610732079,-0.080956220626831,0.047121170908213,-0.170543611049652,-0.035652581602335,0.010271122679114,0.091692417860031,-0.110810711979866,-0.021237861365080,0.001192942494527,0.067793995141983,-0.117479547858238,-0.008522611111403,0.014953264035285,-0.005552823189646) * MODEL11_texOff(vec2(1,-1));
res += mat4(-0.071030370891094,-0.139764025807381,-0.083251670002937,0.092040590941906,0.071993820369244,0.224544122815132,-0.050087817013264,0.188940823078156,0.026656312867999,-0.114881902933121,0.044935453683138,0.018933579325676,-0.172478988766670,-0.002368172165006,-0.054934702813625,-0.063665598630905) * MODEL11_texOff(vec2(1,0));
res += mat4(-0.098862722516060,0.035069715231657,0.001843896927312,-0.065271899104118,-0.042018629610538,0.030826458707452,0.022460978478193,-0.021693170070648,-0.052459672093391,0.013142601586878,-0.024331063032150,-0.021850442513824,0.041074365377426,-0.009638842195272,-0.013637195341289,-0.059909164905548) * MODEL11_texOff(vec2(1,1));
res += mat4(0.047223340719938,-0.014078446663916,0.145255222916603,0.090659409761429,0.112347036600113,0.146622449159622,-0.161828339099884,-0.182776167988777,0.053672544658184,-0.027161808684468,0.076169498264790,0.031752314418554,0.108486294746399,0.077074266970158,0.036869313567877,-0.149948880076408) * MODEL12_texOff(vec2(-1,-1));
res += mat4(0.052336100488901,0.024007158353925,0.021113116294146,0.049107566475868,-0.096033714711666,0.039880961179733,0.228336513042450,-0.196429759263992,-0.114734187722206,-0.072705820202827,-0.111247472465038,-0.122714273631573,-0.076525613665581,0.049337863922119,0.387591540813446,-0.352977126836777) * MODEL12_texOff(vec2(-1,0));
res += mat4(-0.082275636494160,0.084006212651730,0.162171393632889,-0.074835151433945,0.039522632956505,0.014711642637849,0.024345261976123,-0.029052669182420,-0.021051440387964,0.125445634126663,-0.393596708774567,0.236527651548386,0.019189087674022,-0.001472899806686,0.006230592727661,-0.148302271962166) * MODEL12_texOff(vec2(-1,1));
res += mat4(0.122901700437069,0.168305158615112,0.174407273530960,0.018112489953637,-0.120568811893463,0.037489179521799,0.172891974449158,-0.378058046102524,0.013286468572915,0.079611107707024,-0.131647810339928,0.068134732544422,0.052338790148497,-0.040170781314373,0.098104164004326,0.104739747941494) * MODEL12_texOff(vec2(0,-1));
res += mat4(0.005166555754840,0.232437789440155,0.009027319028974,-0.375425368547440,-0.195363327860832,0.278188198804855,0.129490837454796,-0.071266971528530,-0.370775997638702,-0.054840210825205,0.014914636500180,0.152318760752678,0.149601310491562,-0.160194292664528,-0.071473866701126,0.233382150530815) * MODEL12_texOff(vec2(0,0));
res += mat4(-0.090865284204483,0.003265461418778,0.201969429850578,-0.104176759719849,-0.030455797910690,0.106815718114376,-0.075618818402290,-0.171788677573204,-0.175421595573425,0.252341777086258,-0.162337586283684,-0.080005392432213,-0.039767079055309,0.138433337211609,-0.043133471161127,-0.122339703142643) * MODEL12_texOff(vec2(0,1));
res += mat4(0.044296879321337,-0.016737416386604,0.013493463397026,-0.123924478888512,0.190594464540482,0.010222638957202,0.058871831744909,0.073959738016129,0.198944643139839,0.030972039327025,-0.022208390757442,-0.079193741083145,-0.213431030511856,-0.154338747262955,0.057690329849720,-0.021629154682159) * MODEL12_texOff(vec2(1,-1));
res += mat4(0.206440523266792,0.201273187994957,0.053755044937134,0.038604155182838,0.016156353056431,-0.149970754981041,0.021015133708715,0.091008163988590,-0.164427518844604,0.018398936837912,-0.056486520916224,0.081267870962620,-0.078871272504330,0.143931999802589,0.001502138678916,-0.101568393409252) * MODEL12_texOff(vec2(1,0));
res += mat4(0.033149410039186,0.023594526574016,0.113460168242455,0.057447548955679,0.042484547942877,0.091601610183716,0.048429545015097,-0.118649698793888,-0.172465980052948,0.110714323818684,-0.001903465250507,-0.176645904779434,-0.025339024141431,0.026465956121683,-0.002044180175290,-0.039327859878540) * MODEL12_texOff(vec2(1,1));
res = max(res, vec4(0.0)) + vec4(0.247898355126381,0.116903893649578,0.211193770170212,0.301410853862762) * min(res, vec4(0.0));
return res;
}

//!HOOK LUMA
//!WHEN OUTPUT.w LUMA.w 2.200 * > OUTPUT.h LUMA.h 2.200 * > *
//!COMPONENTS 4
//!BIND MODEL7
//!BIND MODEL8
//!BIND MODEL9
//!BIND MODEL10
//!BIND MODEL11
//!BIND MODEL12
//!SAVE MODEL2
//!DESC [AiUpscale_HQ_Sharp_3x_LineArt] mapping 7_2

vec4 hook()
{
vec4 res = vec4(-0.028633488342166,-0.059347018599510,0.048879344016314,-0.086410887539387);
res += mat4(-0.020075337961316,0.056878753006458,0.012934747152030,0.043202321976423,0.045672222971916,0.018567923456430,0.022444518283010,-0.066222518682480,-0.015576986595988,-0.049039635807276,0.064090818166733,-0.020103121176362,-0.006910453550518,0.036854684352875,-0.027908725664020,0.010128791444004) * MODEL7_texOff(vec2(-1,-1));
res += mat4(0.073900528252125,-0.211868241429329,0.000276968290564,-0.022466592490673,-0.167237877845764,0.225697666406631,-0.010548445396125,-0.093330442905426,-0.134029045701027,0.026962855830789,0.124283164739609,0.043075077235699,0.014637449756265,0.016051894053817,0.012813336215913,0.214443698525429) * MODEL7_texOff(vec2(-1,0));
res += mat4(-0.082295052707195,0.103075623512268,0.022858763113618,0.059651326388121,0.140084668993950,-0.109793499112129,-0.026863837614655,-0.009806985035539,0.030961044132710,-0.098234020173550,0.011840135790408,0.114213027060032,0.035358265042305,-0.036370579153299,-0.007894017733634,0.140607565641403) * MODEL7_texOff(vec2(-1,1));
res += mat4(0.206940799951553,-0.370829403400421,-0.016911545768380,0.156965777277946,-0.028865100815892,-0.125550270080566,0.097715206444263,-0.027539974078536,0.078322984278202,-0.033537551760674,-0.112282700836658,-0.051756992936134,0.040951535105705,0.132666572928429,-0.038951341062784,0.046070143580437) * MODEL7_texOff(vec2(0,-1));
res += mat4(-0.110555686056614,0.184535533189774,0.165057212114334,-0.299395292997360,0.101435519754887,-0.205028191208839,-0.109446920454502,0.034963998943567,-0.173098891973495,-0.279213398694992,-0.400943338871002,-0.015114778652787,0.046835049986839,-0.175466015934944,-0.123385645449162,0.085136391222477) * MODEL7_texOff(vec2(0,0));
res += mat4(0.045912798494101,-0.043953388929367,-0.042613752186298,0.034845188260078,-0.098983593285084,0.079554446041584,0.079572573304176,-0.139065489172935,0.001038482296281,-0.149805977940559,0.031604219228029,0.117821909487247,-0.067806825041771,0.040512636303902,-0.133594289422035,-0.012999202124774) * MODEL7_texOff(vec2(0,1));
res += mat4(-0.057063497602940,0.076553948223591,-0.045984808355570,-0.050498832017183,0.104947894811630,-0.106788836419582,-0.056306678801775,-0.128620997071266,-0.036233387887478,0.047308776527643,-0.038618188351393,0.022150920704007,0.299160808324814,-0.098671264946461,-0.000519994355273,-0.001359868096188) * MODEL7_texOff(vec2(1,-1));
res += mat4(-0.073008552193642,0.087125547230244,0.237987518310547,0.016599064692855,0.079777203500271,0.147498875856400,-0.117896914482117,0.066189952194691,-0.336316585540771,-0.036418192088604,-0.167994007468224,0.128037616610527,-0.380598545074463,0.067420147359371,-0.112108126282692,-0.179407969117165) * MODEL7_texOff(vec2(1,0));
res += mat4(0.055173147469759,-0.035069040954113,-0.045464348047972,0.076932020485401,-0.152023524045944,-0.036164861172438,0.094623580574989,-0.034869838505983,-0.042232245206833,-0.041716784238815,-0.032493948936462,0.123176015913486,-0.071346238255501,-0.012519123032689,0.070180028676987,-0.081432223320007) * MODEL7_texOff(vec2(1,1));
res += mat4(-0.080535732209682,0.117146216332912,-0.038828611373901,0.005112286191434,0.013331495225430,0.000378472614102,-0.011599195189774,-0.015448756515980,0.050290580838919,0.057271439582109,0.034937143325806,-0.067141987383366,0.027448210865259,0.106166765093803,0.058270864188671,-0.015819074586034) * MODEL8_texOff(vec2(-1,-1));
res += mat4(-0.052698370069265,0.200165107846260,0.008648541755974,-0.020960744470358,-0.009528292343020,-0.088733099400997,0.112799242138863,-0.084465026855469,0.152973771095276,0.206671938300133,0.078963406383991,0.119747593998909,0.110376365482807,-0.152468830347061,-0.031577974557877,0.050203047692776) * MODEL8_texOff(vec2(-1,0));
res += mat4(0.058489773422480,-0.086394824087620,-0.053042739629745,0.077385425567627,-0.027757717296481,0.041540775448084,-0.045705113559961,-0.185548126697540,0.002546568168327,0.000493131345138,0.046988479793072,0.109723336994648,0.000238939159317,0.054311465471983,0.003730558091775,-0.039815150201321) * MODEL8_texOff(vec2(-1,1));
res += mat4(0.141114845871925,0.087265007197857,0.071206986904144,0.028493206948042,0.093041747808456,-0.097621247172356,-0.005544341634959,0.083634592592716,0.215057089924812,0.002954097697511,0.048442441970110,-0.054209027439356,-0.077698364853859,0.081481233239174,0.233992189168930,-0.085354290902615) * MODEL8_texOff(vec2(0,-1));
res += mat4(0.197907000780106,0.423044651746750,-0.177282318472862,-0.082118839025497,-0.211040079593658,0.251010835170746,0.082523316144943,0.049372375011444,0.490810841321945,-0.089113809168339,-0.183395177125931,-0.041578337550163,-0.233583673834801,-0.116272009909153,-0.535178124904633,0.297202497720718) * MODEL8_texOff(vec2(0,0));
res += mat4(-0.270530402660370,0.109721988439560,0.008873905986547,0.088393636047840,0.163269430398941,-0.088829480111599,-0.065874151885509,0.019105287268758,0.037754304707050,-0.033069260418415,0.068850703537464,-0.020475327968597,0.077256813645363,-0.067533604800701,0.055897351354361,0.264968097209930) * MODEL8_texOff(vec2(0,1));
res += mat4(0.201458036899567,-0.036832805722952,-0.150420159101486,-0.065160706639290,-0.022840356454253,0.070094756782055,-0.029613325372338,-0.094442948698997,0.116792812943459,-0.055429447442293,-0.017103534191847,0.090339183807373,-0.005778204649687,-0.067369066178799,0.008147042244673,0.030423142015934) * MODEL8_texOff(vec2(1,-1));
res += mat4(0.138296946883202,-0.000269695185125,0.246714293956757,-0.526132225990295,0.123958416283131,-0.085803255438805,-0.163608059287071,0.140859395265579,-0.021295309066772,0.035540271550417,-0.012819373048842,-0.180128887295723,-0.022756733000278,0.065374366939068,0.184783175587654,-0.319844573736191) * MODEL8_texOff(vec2(1,0));
res += mat4(-0.000408002844779,0.096926987171173,-0.104484185576439,0.148677349090576,-0.042524103075266,-0.127084225416183,-0.064230196177959,0.061260122805834,0.044003762304783,0.036377646028996,-0.055424902588129,-0.075635410845280,-0.075522802770138,0.093708291649818,0.009305981919169,-0.210308104753494) * MODEL8_texOff(vec2(1,1));
res += mat4(0.119152300059795,-0.101528666913509,-0.143919274210930,-0.075625091791153,0.041107032448053,0.086685001850128,0.017295483499765,0.116718195378780,0.060894403606653,-0.032731898128986,0.238635674118996,0.003110521240160,0.052452132105827,0.045496109873056,0.068446300923824,-0.004373832605779) * MODEL9_texOff(vec2(-1,-1));
res += mat4(-0.063615277409554,0.107975244522095,0.042392138391733,-0.021652828902006,0.012142363004386,-0.051243413239717,0.034282542765141,-0.060754060745239,0.083812758326530,-0.054688584059477,0.175138071179390,0.002436455339193,0.082339517772198,0.352436482906342,0.152477473020554,0.119077399373055) * MODEL9_texOff(vec2(-1,0));
res += mat4(-0.039357863366604,0.078431695699692,0.022251943126321,0.039513293653727,-0.058045130223036,0.246833160519600,0.088647611439228,-0.031817518174648,0.016313545405865,-0.194451197981834,0.035502206534147,0.050407376140356,0.103983022272587,-0.028650119900703,-0.019625212997198,0.097292385995388) * MODEL9_texOff(vec2(-1,1));
res += mat4(-0.254857838153839,0.267090618610382,0.053298026323318,0.085317336022854,0.034950993955135,0.100900389254093,0.225803107023239,0.009084923192859,-0.324851006269455,0.137802973389626,-0.396003603935242,0.089245766401291,0.029988367110491,0.053568780422211,-0.031252834945917,-0.092491947114468) * MODEL9_texOff(vec2(0,-1));
res += mat4(-0.055131569504738,-0.075672425329685,-0.014764511026442,0.038347031921148,0.132892638444901,0.452931851148605,0.420841217041016,0.230161622166634,-0.252445578575134,-0.162225618958473,0.306333243846893,0.113384410738945,0.369048863649368,-0.026771064847708,0.158784359693527,-0.233996704220772) * MODEL9_texOff(vec2(0,0));
res += mat4(0.199610844254494,-0.181657731533051,-0.231545150279999,-0.077563934028149,0.121728971600533,0.154097095131874,0.016800129786134,0.341615438461304,0.032385475933552,-0.035082101821899,-0.073266528546810,0.134555116295815,0.105226725339890,0.136827886104584,0.198345422744751,-0.106211848556995) * MODEL9_texOff(vec2(0,1));
res += mat4(-0.089904941618443,-0.105570115149021,0.131656050682068,-0.031597528606653,-0.029268253594637,0.051875095814466,-0.092706501483917,-0.051291432231665,-0.079730115830898,0.010836126282811,0.041094724088907,-0.131806507706642,0.110671803355217,-0.084453083574772,-0.120821937918663,0.016924535855651) * MODEL9_texOff(vec2(1,-1));
res += mat4(-0.113215491175652,-0.108430586755276,-0.007297571282834,0.137846171855927,0.396626561880112,-0.083553925156593,-0.016403660178185,-0.211014628410339,-0.063379548490047,0.016844285652041,0.163624748587608,-0.068109467625618,0.008545860648155,0.018023893237114,0.139232382178307,-0.271583437919617) * MODEL9_texOff(vec2(1,0));
res += mat4(-0.072290055453777,0.087335653603077,-0.145363762974739,-0.098053850233555,-0.095827862620354,-0.164209946990013,0.084117785096169,-0.105802714824677,-0.099153704941273,-0.028368262574077,-0.098711639642715,0.061002243310213,0.134200915694237,-0.035258367657661,0.052616585046053,-0.099534325301647) * MODEL9_texOff(vec2(1,1));
res += mat4(-0.036818798631430,0.006243794225156,-0.027898624539375,-0.002198690082878,0.055110823363066,0.188675239682198,-0.248079940676689,-0.022426137700677,-0.141008287668228,0.032423712313175,0.055227845907211,-0.018591677770019,0.052023109048605,0.001328901969828,-0.018313270062208,0.080378219485283) * MODEL10_texOff(vec2(-1,-1));
res += mat4(0.040844772011042,-0.194779321551323,-0.101738117635250,0.038082100450993,-0.052961509674788,-0.106997855007648,-0.207164168357849,-0.118830762803555,-0.081465691328049,-0.100740134716034,0.011281130835414,0.121127001941204,0.040835250169039,-0.122864209115505,0.096866816282272,-0.150713533163071) * MODEL10_texOff(vec2(-1,0));
res += mat4(-0.024745587259531,-0.026859659701586,0.019924676045775,-0.072863459587097,-0.091393806040287,0.150250941514969,-0.055463682860136,-0.132702261209488,-0.035054106265306,-0.122946426272392,0.227054640650749,0.140411496162415,0.080622948706150,-0.046457439661026,0.030204553157091,0.065926052629948) * MODEL10_texOff(vec2(-1,1));
res += mat4(0.012350328266621,-0.050551243126392,0.230022728443146,-0.028826318681240,0.084711924195290,-0.011826677247882,0.080943815410137,0.019362818449736,0.087889581918716,-0.073139838874340,-0.056591644883156,-0.057295147329569,0.143751055002213,-0.033104304224253,-0.140770524740219,0.070525057613850) * MODEL10_texOff(vec2(0,-1));
res += mat4(-0.418260097503662,-0.137624472379684,-0.117652907967567,-0.234775632619858,-0.091530814766884,0.083723239600658,0.318507820367813,-0.157774716615677,-0.076388381421566,-0.096441663801670,-0.112486839294434,0.125245273113251,-0.381267517805099,0.100284852087498,0.176425516605377,0.139734178781509) * MODEL10_texOff(vec2(0,0));
res += mat4(-0.027814628556371,-0.027582459151745,0.126193955540657,-0.117111720144749,-0.039158571511507,0.195608213543892,0.019150644540787,-0.137913942337036,-0.043386701494455,-0.190684050321579,0.076323032379150,0.112156540155411,-0.027264341711998,0.091873809695244,0.105032764375210,-0.007785463705659) * MODEL10_texOff(vec2(0,1));
res += mat4(-0.126515835523605,-0.034708574414253,0.058258835226297,-0.094534471631050,-0.108854301273823,0.048425044864416,0.146960124373436,-0.045796323567629,0.004020344931632,-0.141795858740807,0.151910662651062,-0.000758485752158,-0.201348915696144,0.106216326355934,0.011147128418088,-0.058560758829117) * MODEL10_texOff(vec2(1,-1));
res += mat4(-0.112610980868340,0.049564398825169,0.280166029930115,0.001372910919599,0.002810053294525,0.148293033242226,-0.246733635663986,0.136738583445549,-0.115377478301525,0.078094862401485,0.044875506311655,-0.227250695228577,-0.058541748672724,-0.062528327107430,-0.005786331836134,-0.141587272286415) * MODEL10_texOff(vec2(1,0));
res += mat4(-0.009868657216430,0.040795814245939,0.027721278369427,-0.079580716788769,0.113884851336479,0.028978077694774,0.086637184023857,0.176561757922173,-0.061072431504726,0.057998690754175,0.071527265012264,-0.155643850564957,0.035830419510603,-0.062434133142233,0.062538281083107,0.106269277632236) * MODEL10_texOff(vec2(1,1));
res += mat4(0.111896716058254,-0.086852222681046,-0.010842907242477,0.064241074025631,0.042835947126150,-0.072340570390224,-0.055614374577999,-0.038600545376539,0.013406532816589,-0.090765036642551,0.123737365007401,0.057003419846296,0.028401641175151,0.053796939551830,-0.020124405622482,0.018153259530663) * MODEL11_texOff(vec2(-1,-1));
res += mat4(-0.087532520294189,-0.066618159413338,-0.052448216825724,-0.108097895979881,0.009503914043307,-0.000354789313860,-0.018798170611262,0.035594597458839,0.005557027645409,-0.173697695136070,0.043501544743776,-0.143834248185158,0.151100680232048,-0.630741953849792,-0.135299786925316,-0.149809241294861) * MODEL11_texOff(vec2(-1,0));
res += mat4(-0.120867669582367,0.198251515626907,0.154651939868927,-0.127649649977684,-0.017774956300855,0.166433215141296,-0.101945802569389,-0.024519801139832,0.082534298300743,0.141401320695877,0.006852858699858,-0.021332638338208,-0.036418274044991,-0.082697227597237,-0.110350213944912,-0.031129756942391) * MODEL11_texOff(vec2(-1,1));
res += mat4(0.128518909215927,-0.165789023041725,-0.062669157981873,-0.044054154306650,0.157468527555466,-0.040061887353659,-0.186342597007751,0.279096722602844,-0.152569264173508,0.047846239060163,-0.277972936630249,0.057286243885756,-0.227721884846687,0.102866664528847,-0.170482501387596,-0.066963985562325) * MODEL11_texOff(vec2(0,-1));
res += mat4(-0.056623563170433,0.082934074103832,0.026347905397415,-0.168153762817383,-0.009044540114701,-0.072108849883080,-0.089447818696499,-0.411996752023697,-0.191382497549057,-0.019112030044198,-0.350869774818420,0.406800448894501,-0.294766068458557,-0.063797421753407,0.314634323120117,0.343409478664398) * MODEL11_texOff(vec2(0,0));
res += mat4(0.072326526045799,0.069696106016636,-0.092334300279617,0.176598414778709,0.113184973597527,-0.241887733340263,-0.110056869685650,0.070094995200634,0.013493906706572,0.012908722274005,0.055971201509237,0.073974318802357,-0.146064236760139,0.154927536845207,-0.046472247689962,-0.102370195090771) * MODEL11_texOff(vec2(0,1));
res += mat4(-0.031023608520627,0.007162452675402,-0.049483682960272,0.032669637352228,0.102043673396111,-0.030646508559585,-0.030192438513041,0.089330993592739,0.108894079923630,0.058565039187670,-0.073009140789509,0.050572667270899,0.069237381219864,-0.006431520450860,-0.118591278791428,0.119169600307941) * MODEL11_texOff(vec2(1,-1));
res += mat4(0.054415348917246,0.007642313372344,-0.038890235126019,-0.045556366443634,-0.253354966640472,0.173396423459053,0.091218329966068,-0.175742551684380,-0.012852454558015,0.050219006836414,0.095205381512642,0.192144632339478,0.015261868014932,0.072024337947369,-0.036014471203089,0.051254112273455) * MODEL11_texOff(vec2(1,0));
res += mat4(0.107512675225735,0.021797075867653,-0.000436749309301,0.042718581855297,-0.056827083230019,0.029192022979259,-0.031171090900898,0.077850162982941,0.056838557124138,-0.052921019494534,0.111400723457336,0.084391437470913,0.024880353361368,-0.034682184457779,-0.025971345603466,0.136249974370003) * MODEL11_texOff(vec2(1,1));
res += mat4(-0.021107984706759,-0.013232763856649,0.013833691366017,0.008749868720770,-0.169353231787682,0.008434332907200,0.090648815035820,0.068711519241333,0.045904938131571,0.018848005682230,0.055887706577778,-0.040686920285225,-0.035758368670940,0.043579600751400,0.073753878474236,0.033924046903849) * MODEL12_texOff(vec2(-1,-1));
res += mat4(0.040580939501524,0.027886515483260,0.066880024969578,0.100838825106621,-0.049531977623701,0.106535479426384,0.131579130887985,0.081399492919445,0.020117998123169,0.142280504107475,0.026450533419847,0.010069822892547,-0.109256856143475,0.186413392424583,0.248139604926109,-0.019985856488347) * MODEL12_texOff(vec2(-1,0));
res += mat4(-0.080893442034721,0.003558061551303,0.053287561982870,0.127863138914108,0.021277859807014,-0.001178451464511,-0.000473153952044,0.008546329103410,0.076364189386368,-0.150181427598000,-0.087747745215893,-0.079015798866749,0.147060990333557,-0.148375093936920,0.064180456101894,0.062717340886593) * MODEL12_texOff(vec2(-1,1));
res += mat4(-0.036634441465139,-0.001008605351672,0.025128588080406,0.069729879498482,-0.070374287664890,0.040611762553453,0.024629082530737,0.057143185287714,-0.230519935488701,0.152012780308723,0.133686184883118,-0.142480805516243,0.160921886563301,-0.111243106424809,-0.324055194854736,0.100217625498772) * MODEL12_texOff(vec2(0,-1));
res += mat4(-0.016009330749512,-0.250905632972717,-0.195679828524590,0.426446795463562,-0.017675524577498,-0.240377813577652,0.069817095994949,-0.169795259833336,0.371670275926590,-0.150020912289619,-0.043200578540564,-0.030897079035640,-0.257446289062500,-0.000844643043820,-0.196826651692390,-0.161106064915657) * MODEL12_texOff(vec2(0,0));
res += mat4(0.156746432185173,-0.164606958627701,-0.066912241280079,0.125140041112900,0.021758984774351,0.091822370886803,0.036269105970860,-0.036572061479092,0.019140370190144,0.093636058270931,0.160666391253471,-0.203319355845451,-0.094974018633366,0.186572477221489,0.063815452158451,-0.116621494293213) * MODEL12_texOff(vec2(0,1));
res += mat4(0.059150498360395,-0.063433140516281,-0.052471015602350,-0.049861792474985,-0.105739735066891,0.066009998321533,0.040525600314140,-0.069111697375774,0.104990929365158,-0.127512544393539,0.126900464296341,-0.029844153672457,0.017910292372108,0.072916865348816,-0.213777184486389,0.073047444224358) * MODEL12_texOff(vec2(1,-1));
res += mat4(-0.229065686464310,0.007596013601869,0.002883497858420,-0.207327187061310,0.106877550482750,0.145871549844742,-0.125549390912056,-0.072002962231636,0.039259988814592,0.126828730106354,-0.031220760196447,-0.021120755001903,0.242418482899666,-0.143511623144150,-0.135724753141403,0.130353510379791) * MODEL12_texOff(vec2(1,0));
res += mat4(-0.013837694190443,-0.088760510087013,-0.096115410327911,0.027484420686960,0.043383195996284,-0.016610914841294,0.060536779463291,-0.057054359465837,0.041991021484137,-0.083825409412384,0.123120285570621,0.023056663572788,-0.058623574674129,-0.074136041104794,-0.020081108435988,0.066928632557392) * MODEL12_texOff(vec2(1,1));
res = max(res, vec4(0.0)) + vec4(-0.071477279067039,-0.043033469468355,0.217016845941544,0.191345483064651) * min(res, vec4(0.0));
return res;
}

//!HOOK LUMA
//!WHEN OUTPUT.w LUMA.w 2.200 * > OUTPUT.h LUMA.h 2.200 * > *
//!COMPONENTS 4
//!BIND MODEL7
//!BIND MODEL8
//!BIND MODEL9
//!BIND MODEL10
//!BIND MODEL11
//!BIND MODEL12
//!SAVE MODEL3
//!DESC [AiUpscale_HQ_Sharp_3x_LineArt] mapping 7_3

vec4 hook()
{
vec4 res = vec4(-0.027379935607314,0.063118867576122,-0.076322473585606,-0.230672374367714);
res += mat4(-0.137998908758163,0.123371832072735,-0.162821352481842,-0.140044391155243,-0.117901526391506,0.032513689249754,0.168579310178757,0.072325929999352,0.283740401268005,-0.060822933912277,-0.176487103104591,0.017852442339063,0.036641564220190,0.048876434564590,-0.023598091676831,-0.065993055701256) * MODEL7_texOff(vec2(-1,-1));
res += mat4(0.087723039090633,-0.098076373338699,-0.054362956434488,0.016909871250391,-0.232716441154480,0.060074351727962,-0.016985889524221,-0.040622800588608,-0.062386870384216,0.071924872696400,0.229633972048759,-0.119657211005688,0.007389618083835,0.052498415112495,0.196793988347054,0.170585095882416) * MODEL7_texOff(vec2(-1,0));
res += mat4(-0.058958243578672,0.033433720469475,0.157051220536232,0.159664615988731,-0.034150496125221,0.056770972907543,-0.191235587000847,-0.048032432794571,-0.070746637880802,0.025899074971676,-0.000649634399451,-0.128029137849808,-0.026099784299731,-0.025694584473968,-0.100651741027832,0.003405504394323) * MODEL7_texOff(vec2(-1,1));
res += mat4(-0.203517287969589,0.062049575150013,0.172921180725098,-0.044399693608284,-0.214566573500633,-0.040047116577625,0.055878005921841,0.024970281869173,-0.044578116387129,0.098805330693722,0.139856740832329,-0.128399878740311,-0.005274366121739,-0.002709267195314,0.080966494977474,-0.153229743242264) * MODEL7_texOff(vec2(0,-1));
res += mat4(-0.036174658685923,0.110098354518414,-0.135132849216461,0.055910762399435,0.195850268006325,-0.023833064362407,0.410260468721390,-0.121086739003658,0.177159011363983,-0.026973256841302,-0.182288870215416,-0.217180997133255,0.127383008599281,0.071695968508720,-0.348173111677170,-0.100668780505657) * MODEL7_texOff(vec2(0,0));
res += mat4(0.007361927069724,0.087688371539116,0.092313215136528,0.070094838738441,0.046693641692400,-0.003691103775054,-0.057642173022032,-0.121690638363361,0.007043978199363,0.013770234771073,0.279367148876190,-0.015158246271312,-0.063016235828400,-0.067322768270969,-0.105440661311150,-0.069816991686821) * MODEL7_texOff(vec2(0,1));
res += mat4(-0.118811033666134,-0.059944886714220,0.142436355352402,-0.002132293069735,-0.196945831179619,-0.133691906929016,-0.062774442136288,-0.009625398553908,-0.077331259846687,0.144039258360863,0.112729601562023,-0.034598782658577,-0.098356597125530,0.170802205801010,0.138488769531250,0.105574108660221) * MODEL7_texOff(vec2(1,-1));
res += mat4(0.261900961399078,0.014511761255562,-0.052622720599174,0.079616717994213,0.151062324643135,0.004183020908386,0.113827355206013,-0.206314280629158,-0.246990606188774,-0.437245756387711,-0.039329007267952,-0.199722781777382,0.005827262997627,-0.402778476476669,0.018241660669446,-0.016274889931083) * MODEL7_texOff(vec2(1,0));
res += mat4(-0.055429738014936,0.151747867465019,-0.003282501362264,-0.067269787192345,0.128871023654938,-0.080605313181877,0.049940638244152,0.060875348746777,0.167702570557594,-0.098257876932621,0.087283901870251,-0.036853928118944,0.033059611916542,-0.092020012438297,-0.000352458271664,0.132802516222000) * MODEL7_texOff(vec2(1,1));
res += mat4(0.281647443771362,0.005007681902498,-0.041960198432207,-0.073490895330906,0.169409751892090,-0.097841933369637,-0.071018092334270,0.099713101983070,0.152748763561249,0.052652854472399,-0.058902040123940,-0.116487979888916,-0.152268841862679,0.022422382608056,-0.035966321825981,-0.013699598610401) * MODEL8_texOff(vec2(-1,-1));
res += mat4(-0.139729768037796,0.151574075222015,-0.048993997275829,-0.127618297934532,-0.062110785394907,0.027459764853120,0.008049158379436,0.079670511186123,-0.024690248072147,0.079385660588741,0.185181364417076,0.428252249956131,0.095402240753174,-0.141023993492126,-0.430981725454330,-0.080662399530411) * MODEL8_texOff(vec2(-1,0));
res += mat4(-0.147046610713005,-0.023515481501818,-0.039146121591330,-0.029399294406176,-0.005453699734062,0.177635163068771,0.016087532043457,-0.036223698407412,0.124355517327785,-0.056722007691860,-0.000358553370461,-0.004995975177735,-0.064531683921814,0.036773707717657,0.056127294898033,-0.037765059620142) * MODEL8_texOff(vec2(-1,1));
res += mat4(-0.146905124187469,-0.005305554252118,0.138499930500984,-0.205314770340919,-0.175436973571777,0.085492178797722,-0.029647856950760,0.022037677466869,-0.047618631273508,0.112631462514400,0.012425115332007,-0.102809466421604,-0.172344058752060,-0.033668469637632,-0.077864155173302,-0.081175081431866) * MODEL8_texOff(vec2(0,-1));
res += mat4(0.017358081415296,-0.157877907156944,-0.308094710111618,0.060881201177835,-0.106659352779388,-0.163455784320831,0.138239249587059,0.033225670456886,0.236469075083733,0.049640171229839,0.072323963046074,0.126636460423470,0.210663795471191,-0.053000863641500,0.116757258772850,-0.080844722688198) * MODEL8_texOff(vec2(0,0));
res += mat4(-0.084048315882683,-0.188835203647614,0.215662837028503,0.071788087487221,-0.142669081687927,-0.048202324658632,-0.222809165716171,-0.146315425634384,0.084128119051456,-0.070029810070992,0.137898162007332,-0.019619734957814,-0.175460264086723,0.015487028285861,0.003928017802536,-0.040298957377672) * MODEL8_texOff(vec2(0,1));
res += mat4(-0.195517167448997,0.066156148910522,0.084003686904907,-0.107398264110088,0.088735505938530,0.002726464532316,-0.068858548998833,-0.044875122606754,-0.074292063713074,0.047495935112238,0.040749792009592,-0.033998772501945,-0.154602587223053,-0.089953817427158,0.020292568951845,-0.015755483880639) * MODEL8_texOff(vec2(1,-1));
res += mat4(-0.300396442413330,0.021929664537311,-0.324281245470047,-0.139641240239143,0.223740011453629,-0.191545039415359,-0.030753934755921,0.147875681519508,-0.036916889250278,0.040247268974781,0.010252907872200,-0.027458837255836,-0.127814218401909,-0.254335939884186,-0.027262350544333,-0.154983475804329) * MODEL8_texOff(vec2(1,0));
res += mat4(0.039646234363317,0.011475939303637,0.188139021396637,-0.044890992343426,-0.030917519703507,-0.360415905714035,0.082455143332481,-0.099689044058323,0.029168603941798,0.136910498142242,-0.041203808039427,0.029178595170379,0.048482377082109,-0.061937186866999,-0.031788848340511,-0.096157111227512) * MODEL8_texOff(vec2(1,1));
res += mat4(-0.170852676033974,-0.123783975839615,-0.170975178480148,-0.084466435015202,0.003414175938815,0.071349613368511,0.026803249493241,0.091445058584213,-0.103259697556496,-0.009253825061023,0.089745648205280,-0.058644432574511,-0.005280271172523,0.073603391647339,-0.032257460057735,-0.083678834140301) * MODEL9_texOff(vec2(-1,-1));
res += mat4(-0.116890482604504,-0.006197851151228,0.021603381261230,-0.126967161893845,0.049800228327513,-0.153465345501900,-0.028082063421607,-0.001896310481243,-0.054064825177193,-0.001021411851980,0.005426111165434,-0.002559661166742,-0.273237615823746,0.091466255486012,0.062550105154514,-0.169399082660675) * MODEL9_texOff(vec2(-1,0));
res += mat4(-0.001480958540924,0.206050530076027,-0.030444383621216,-0.117443121969700,0.147441700100899,0.013265830464661,-0.024516453966498,0.017798492684960,-0.033896356821060,-0.144362390041351,-0.103333279490471,0.019173238426447,-0.233270838856697,-0.024499274790287,-0.202533662319183,-0.051283411681652) * MODEL9_texOff(vec2(-1,1));
res += mat4(0.019715735688806,0.107093460857868,-0.386589765548706,0.102656260132790,0.431875139474869,0.036271601915359,0.012444511055946,0.007650364656001,0.020921600982547,-0.077178604900837,-0.180155217647552,-0.037505879998207,-0.097231835126877,-0.055793073028326,-0.180801644921303,-0.105375677347183) * MODEL9_texOff(vec2(0,-1));
res += mat4(-0.153432413935661,0.034609664231539,0.270485788583755,-0.238544240593910,-0.174133509397507,0.319255203008652,0.409899920225143,0.137562438845634,-0.068433843553066,-0.095524646341801,-0.213449254631996,-0.032871425151825,-0.375879645347595,0.084265790879726,-0.229905292391777,0.014493894763291) * MODEL9_texOff(vec2(0,0));
res += mat4(-0.104199483990669,-0.095488578081131,0.099741719663143,-0.121708802878857,0.050146818161011,-0.067026294767857,0.090495981276035,0.089317880570889,0.099763430655003,0.164446055889130,0.160244613885880,0.043324124068022,-0.303349286317825,-0.034764897078276,-0.101814843714237,-0.110086746513844) * MODEL9_texOff(vec2(0,1));
res += mat4(-0.019692532718182,-0.169591426849365,0.028653420507908,-0.052342653274536,0.135409310460091,0.081440478563309,-0.099220804870129,-0.087230995297432,-0.109966725111008,-0.053528577089310,-0.092616714537144,-0.026474235579371,-0.269609272480011,0.071942239999771,0.087370552122593,-0.135214135050774) * MODEL9_texOff(vec2(1,-1));
res += mat4(0.016662660986185,-0.010952790267766,-0.092160589993000,-0.030491326004267,0.308201462030411,0.064576394855976,0.063318125903606,0.026002451777458,-0.140576690435410,-0.185370013117790,-0.093161053955555,-0.088262319564819,-0.409195542335510,0.184006243944168,-0.094790361821651,-0.311352491378784) * MODEL9_texOff(vec2(1,0));
res += mat4(0.129541441798210,0.104157000780106,-0.040915343910456,-0.064183823764324,-0.128659635782242,-0.277543842792511,0.069060660898685,-0.057950727641582,0.083971284329891,0.002024778164923,-0.006576426792890,0.007877826690674,0.035711623728275,0.390401870012283,0.019099727272987,-0.103616222739220) * MODEL9_texOff(vec2(1,1));
res += mat4(0.047619566321373,-0.115603551268578,-0.058756269514561,0.173919543623924,0.060815181583166,-0.192630141973495,0.000442355376435,0.030524039641023,0.371354341506958,0.046997070312500,-0.083503104746342,0.017703931778669,0.166726455092430,-0.028628692030907,-0.088280022144318,-0.112991057336330) * MODEL10_texOff(vec2(-1,-1));
res += mat4(0.239651784300804,-0.192122727632523,0.011746411211789,0.011785499751568,-0.018933948129416,-0.237006828188896,-0.181846782565117,0.017854956910014,0.059977363795042,0.087115511298180,0.014181678183377,-0.177672937512398,-0.186472818255424,0.123005509376526,0.187612861394882,0.109605379402637) * MODEL10_texOff(vec2(-1,0));
res += mat4(-0.025738814845681,-0.008487717248499,-0.048512034118176,-0.014207196421921,-0.007447676267475,0.113280132412910,0.085111610591412,0.039039466530085,0.014899607747793,0.028607854619622,-0.364984780550003,-0.007402327377349,-0.183239266276360,-0.048038095235825,-0.026934634894133,-0.033016014844179) * MODEL10_texOff(vec2(-1,1));
res += mat4(-0.037868563085794,0.099283114075661,-0.028720330446959,0.005677413195372,-0.318129509687424,0.183042764663696,0.066915929317474,0.117955513298512,0.106118313968182,-0.098752945661545,0.058576855808496,-0.211410894989967,0.026316434144974,0.026972921565175,0.088361859321594,-0.026062691584229) * MODEL10_texOff(vec2(0,-1));
res += mat4(0.175454065203667,0.364903390407562,-0.054803263396025,-0.254267334938049,-0.285403162240982,0.252919554710388,-0.022628558799624,-0.480219483375549,-0.024617481976748,-0.246624961495399,-0.074115522205830,0.267789810895920,-0.023668715730309,-0.423890978097916,-0.036457721143961,0.233541131019592) * MODEL10_texOff(vec2(0,0));
res += mat4(0.106395028531551,0.140921682119370,0.079876385629177,-0.094076789915562,-0.209719464182854,0.115871958434582,-0.239591851830482,-0.155781373381615,0.053363200277090,-0.108376502990723,-0.015928901731968,-0.105806797742844,0.144510820508003,-0.038751397281885,0.103249564766884,-0.038473162800074) * MODEL10_texOff(vec2(0,1));
res += mat4(-0.163767695426941,0.089708223938942,0.041693463921547,-0.007594106253237,-0.078965060412884,0.130174145102501,-0.151996076107025,-0.104954272508621,-0.263036876916885,0.078580103814602,0.018106732517481,0.049351379275322,0.154230833053589,0.037740584462881,0.038134213536978,0.097137831151485) * MODEL10_texOff(vec2(1,-1));
res += mat4(-0.159140288829803,0.140316814184189,0.007077832240611,-0.014352964237332,-0.253236472606659,0.239105880260468,0.041249964386225,0.059687018394470,0.009861205704510,0.025213604792953,-0.147270545363426,-0.314254671335220,-0.011131638661027,-0.054391719400883,0.002945786342025,-0.132962718605995) * MODEL10_texOff(vec2(1,0));
res += mat4(0.009380416944623,0.088669627904892,-0.030406180769205,-0.081885404884815,-0.128403574228287,0.099462479352951,0.088886052370071,0.028098668903112,0.033087711781263,0.008748061023653,-0.112322978675365,-0.033385965973139,-0.048762600868940,0.022540230304003,0.136280506849289,0.116033911705017) * MODEL10_texOff(vec2(1,1));
res += mat4(-0.115230791270733,-0.096219338476658,-0.079224571585655,0.022384881973267,0.058161474764347,-0.140426293015480,-0.071140348911285,-0.174594968557358,0.073835626244545,0.076053708791733,0.223583221435547,-0.007399870082736,-0.038736596703529,0.036908525973558,0.235886469483376,0.059172809123993) * MODEL11_texOff(vec2(-1,-1));
res += mat4(-0.018644725903869,-0.267388820648193,-0.121161535382271,-0.078306578099728,0.050173573195934,0.001990246586502,0.193110838532448,-0.075002551078796,-0.047183506190777,-0.007251167204231,-0.212661758065224,-0.004577028565109,-0.106487348675728,-0.087356813251972,-0.427916347980499,0.068254791200161) * MODEL11_texOff(vec2(-1,0));
res += mat4(0.065812706947327,0.004538563080132,0.175222098827362,0.083799950778484,0.047236766666174,0.031784653663635,0.211995631456375,-0.002596678677946,0.027358284220099,0.025126375257969,-0.016478056088090,-0.042989507317543,0.051286477595568,0.009886793792248,0.127729356288910,0.032297339290380) * MODEL11_texOff(vec2(-1,1));
res += mat4(-0.048503905534744,-0.162803620100021,0.041747670620680,0.052125610411167,-0.145506337285042,0.105832315981388,0.118878476321697,-0.168956309556961,0.153512164950371,-0.043488152325153,0.069900326430798,-0.164359867572784,0.015846503898501,-0.195734992623329,-0.024498637765646,0.115160442888737) * MODEL11_texOff(vec2(0,-1));
res += mat4(-0.081681042909622,0.219384118914604,0.043222211301327,0.026933949440718,0.241369649767876,-0.090743355453014,0.148302569985390,0.093668304383755,0.042575392872095,-0.014070120640099,-0.316481918096542,0.009862530976534,0.115974552929401,-0.250525653362274,0.111792214214802,0.119653388857841) * MODEL11_texOff(vec2(0,0));
res += mat4(-0.227351710200310,0.066683895885944,-0.063527755439281,0.093392603099346,0.102836176753044,-0.030992919579148,0.076609723269939,-0.036489650607109,0.030344452708960,-0.117390863597393,-0.052759796380997,0.051788516342640,0.081324659287930,-0.016150992363691,-0.067235037684441,-0.028990253806114) * MODEL11_texOff(vec2(0,1));
res += mat4(-0.114660054445267,0.007860722020268,-0.014177308417857,0.046153891831636,-0.113386854529381,0.114607982337475,0.176824271678925,0.093411579728127,0.210716947913170,0.068300865590572,-0.045640114694834,-0.011994090862572,0.032148998230696,0.062337148934603,0.037057865411043,0.109969355165958) * MODEL11_texOff(vec2(1,-1));
res += mat4(0.080844506621361,0.123345501720905,-0.095312654972076,-0.027152879163623,0.186298295855522,0.005652202293277,0.030962560325861,-0.091664120554924,0.067339576780796,-0.227358281612396,0.077768310904503,0.062461111694574,0.036886878311634,0.038850530982018,-0.031917355954647,0.181059837341309) * MODEL11_texOff(vec2(1,0));
res += mat4(-0.030963227152824,0.016173265874386,-0.051665067672729,0.088189378380775,0.018362453207374,0.072965495288372,-0.085284814238548,0.073046199977398,-0.003267660271376,0.146722584962845,0.023567084223032,-0.023847866803408,0.012950495816767,0.018911171704531,-0.008749064058065,0.077946797013283) * MODEL11_texOff(vec2(1,1));
res += mat4(0.036269657313824,0.030963752418756,-0.047818969935179,-0.046574417501688,0.360405355691910,-0.005480681546032,0.005484976805747,-0.171553999185562,0.037300199270248,0.069689922034740,0.026322472840548,0.048029821366072,0.141460582613945,0.096131816506386,0.010686254128814,-0.267472177743912) * MODEL12_texOff(vec2(-1,-1));
res += mat4(0.096039503812790,0.125764518976212,-0.138391226530075,-0.145331695675850,0.071405097842216,0.175676569342613,0.194703623652458,-0.053008794784546,-0.099361911416054,-0.043952379375696,-0.023639028891921,0.043101292103529,-0.127739265561104,0.244960963726044,0.138526841998100,-0.199576735496521) * MODEL12_texOff(vec2(-1,0));
res += mat4(0.026699680835009,-0.077828451991081,0.068468146026134,0.076952539384365,-0.127377271652222,-0.057500530034304,0.015271350741386,-0.053914647549391,-0.057481903582811,-0.080332092940807,-0.388484865427017,-0.054710954427719,-0.094963058829308,-0.047437440603971,-0.111677601933479,-0.069001682102680) * MODEL12_texOff(vec2(-1,1));
res += mat4(0.198201060295105,0.117151968181133,-0.125471457839012,-0.082150883972645,0.013125341385603,-0.131350427865982,0.131072416901588,0.095073871314526,0.008910938166082,-0.040407907217741,-0.238633602857590,-0.036229532212019,0.114705063402653,-0.079319037497044,0.185481041669846,0.007721130736172) * MODEL12_texOff(vec2(0,-1));
res += mat4(0.068103909492493,0.307644724845886,-0.303684115409851,-0.062652900815010,0.055317245423794,-0.278594374656677,0.225870862603188,0.061078984290361,-0.236098751425743,0.167344465851784,0.120933316648006,0.052231889218092,-0.013503748923540,-0.435328215360641,-0.319131761789322,0.016511352732778) * MODEL12_texOff(vec2(0,0));
res += mat4(-0.197272151708603,0.027345215901732,0.097520075738430,-0.029664635658264,0.107532061636448,-0.041868224740028,-0.026496170088649,-0.022179447114468,-0.148757353425026,0.094978965818882,-0.119499504566193,-0.129379719495773,-0.013681553304195,-0.100083664059639,-0.060755211859941,0.001753909746185) * MODEL12_texOff(vec2(0,1));
res += mat4(-0.198309212923050,-0.021763790398836,0.131131157279015,-0.142954275012016,0.041150767356157,-0.209699735045433,-0.025010481476784,-0.044796273112297,-0.248699620366096,-0.036953184753656,-0.055865809321404,-0.022636391222477,0.292169719934464,0.020575424656272,0.075316548347473,-0.038279134780169) * MODEL12_texOff(vec2(1,-1));
res += mat4(0.139678165316582,-0.329910129308701,0.063561886548996,-0.117758125066757,0.138815373182297,0.034073192626238,-0.085611507296562,-0.094581916928291,-0.055410560220480,0.295435428619385,0.006605164613575,-0.070197753608227,0.121089398860931,-0.226421713829041,-0.010475423187017,0.062907502055168) * MODEL12_texOff(vec2(1,0));
res += mat4(0.052315689623356,-0.098357260227203,0.065460085868835,0.011062711477280,0.061313390731812,-0.051844634115696,0.073725603520870,0.104886427521706,0.157223269343376,-0.139665618538857,0.025218678638339,0.192067742347717,-0.049290269613266,-0.128717094659805,0.148658841848373,0.123339988291264) * MODEL12_texOff(vec2(1,1));
res = max(res, vec4(0.0)) + vec4(-0.048263251781464,-0.005847307387739,-0.015592176467180,0.402231305837631) * min(res, vec4(0.0));
return res;
}

//!HOOK LUMA
//!WHEN OUTPUT.w LUMA.w 2.200 * > OUTPUT.h LUMA.h 2.200 * > *
//!COMPONENTS 4
//!BIND MODEL7
//!BIND MODEL8
//!BIND MODEL9
//!BIND MODEL10
//!BIND MODEL11
//!BIND MODEL12
//!SAVE MODEL4
//!DESC [AiUpscale_HQ_Sharp_3x_LineArt] mapping 7_4

vec4 hook()
{
vec4 res = vec4(0.213933825492859,-0.120893418788910,-0.014905819669366,-0.117169968783855);
res += mat4(-0.065349929034710,0.155829325318336,-0.034307371824980,0.025962091982365,-0.056142047047615,-0.144465953111649,0.005666221026331,-0.193416669964790,0.087049752473831,0.048188854008913,-0.021508172154427,-0.046773146837950,0.008352315053344,0.009622508659959,0.068687520921230,0.024434171617031) * MODEL7_texOff(vec2(-1,-1));
res += mat4(0.010123184882104,0.005544450134039,0.175553500652313,-0.129005908966064,0.038254074752331,-0.163789629936218,-0.081930838525295,0.422719568014145,-0.038713797926903,0.124679014086723,-0.045784667134285,-0.050573188811541,0.013369622640312,0.265249311923981,0.025293588638306,-0.078509509563446) * MODEL7_texOff(vec2(-1,0));
res += mat4(-0.008864202536643,0.117161035537720,-0.009591238573194,0.238517224788666,0.008339251391590,-0.081651829183102,0.078362181782722,-0.172730237245560,-0.064530320465565,0.096048571169376,0.027999253943563,-0.130370795726776,0.009419120848179,-0.160078004002571,-0.005183791276067,0.012953713536263) * MODEL7_texOff(vec2(-1,1));
res += mat4(-0.213535100221634,-0.124194882810116,-0.124899081885815,0.139331921935081,-0.010266602970660,-0.240638196468353,-0.180037632584572,-0.076772816479206,-0.105577252805233,-0.148690238595009,0.162779465317726,-0.005863132886589,-0.124474801123142,-0.090329885482788,0.036810364574194,0.129824519157410) * MODEL7_texOff(vec2(0,-1));
res += mat4(-0.273867577314377,0.091455005109310,0.117766901850700,-0.137066692113876,0.001734997378662,-0.034959182143211,-0.342665851116180,-0.011695266701281,-0.038778357207775,-0.357234776020050,-0.185256138443947,0.013317273929715,0.183287233114243,-0.201850131154060,-0.219399228692055,-0.041261613368988) * MODEL7_texOff(vec2(0,0));
res += mat4(0.182916894555092,-0.003813109127805,-0.092811323702335,0.151545107364655,-0.204399913549423,0.171033218502998,0.071822896599770,0.014934202656150,-0.080944992601871,0.148194149136543,-0.090388618409634,-0.116104893386364,-0.107494406402111,-0.185521766543388,-0.046930551528931,-0.241935789585114) * MODEL7_texOff(vec2(0,1));
res += mat4(-0.154023021459579,0.009791771881282,0.218020096421242,0.060292195528746,-0.008184893056750,0.164350599050522,0.076397582888603,0.032324071973562,-0.042097847908735,-0.009591187350452,-0.180341377854347,-0.034908294677734,-0.067705310881138,0.022692607715726,-0.122532665729523,-0.025776695460081) * MODEL7_texOff(vec2(1,-1));
res += mat4(-0.018031660467386,0.073543623089790,-0.021754333749413,-0.022010819986463,-0.080168940126896,-0.060449913144112,-0.023127874359488,-0.059136416763067,0.035617943853140,0.078305669128895,-0.219396606087685,-0.038150105625391,0.216538906097412,-0.103041402995586,0.052726767957211,-0.133818447589874) * MODEL7_texOff(vec2(1,0));
res += mat4(0.078501977026463,0.001025701756589,0.065610036253929,0.013854347169399,0.047456797212362,0.008471450768411,-0.025414763018489,-0.036723151803017,0.036411546170712,-0.058931298553944,-0.091037556529045,-0.068287812173367,0.059628903865814,0.047378972172737,0.133488714694977,0.032908171415329) * MODEL7_texOff(vec2(1,1));
res += mat4(-0.017046343535185,0.025364447385073,0.027173150330782,0.027169782668352,0.008039593696594,0.077390752732754,-0.013287686742842,0.011982943862677,-0.090916424989700,0.098000086843967,0.031788945198059,0.109429486095905,-0.004491652362049,0.083494491875172,0.031664513051510,-0.037133403122425) * MODEL8_texOff(vec2(-1,-1));
res += mat4(-0.031808122992516,0.064216531813145,-0.162630692124367,0.027786012738943,0.024172529578209,-0.010895953513682,-0.044557105749846,-0.043672043830156,-0.140281230211258,0.100649803876877,-0.021703395992517,-0.086365550756454,0.072187878191471,-0.493160039186478,0.148877099156380,0.121394500136375) * MODEL8_texOff(vec2(-1,0));
res += mat4(-0.028660252690315,-0.045755378901958,-0.095319546759129,-0.036227285861969,-0.034233499318361,-0.121040128171444,-0.081080548465252,0.013691916130483,0.009634341113269,0.055989135056734,0.130481228232384,-0.137182071805000,0.049542170017958,0.034008290618658,0.005412820260972,-0.147373542189598) * MODEL8_texOff(vec2(-1,1));
res += mat4(-0.024014122784138,0.081795245409012,-0.128221198916435,0.032552912831306,-0.056607160717249,-0.052488513290882,-0.084314852952957,0.078968234360218,-0.066901199519634,0.065886400640011,0.071478538215160,-0.034674588590860,0.114344783127308,0.035354495048523,0.092605687677860,-0.056405641138554) * MODEL8_texOff(vec2(0,-1));
res += mat4(-0.065458066761494,-0.005078287795186,0.022417966276407,0.116544045507908,-0.094117343425751,-0.262145221233368,-0.268293678760529,-0.010773287154734,-0.044614695012569,0.095080077648163,0.280635088682175,-0.124339394271374,0.048626068979502,0.273480176925659,-0.469227641820908,0.005844626110047) * MODEL8_texOff(vec2(0,0));
res += mat4(-0.095710813999176,0.066013574600220,-0.052866328507662,0.418229192495346,0.057316534221172,-0.169492080807686,-0.171457111835480,-0.168439447879791,-0.092305898666382,-0.062299795448780,-0.032878648489714,0.010887590236962,0.181425094604492,0.051583383232355,-0.136380344629288,0.211617469787598) * MODEL8_texOff(vec2(0,1));
res += mat4(-0.066639736294746,0.033146854490042,-0.084475405514240,0.077305734157562,-0.080482549965382,0.063116721808910,0.056608401238918,0.062277141958475,-0.053673148155212,-0.062972284853458,-0.148255482316017,-0.067705504596233,0.033680174499750,-0.043617792427540,-0.038961831480265,-0.048782344907522) * MODEL8_texOff(vec2(1,-1));
res += mat4(-0.094597317278385,-0.022750828415155,0.008330946788192,0.060997914522886,0.039237417280674,0.237780511379242,0.192465856671333,0.010351113043725,-0.020774209871888,-0.173543766140938,-0.156040847301483,-0.046574354171753,-0.113400302827358,-0.231197342276573,-0.024220738559961,-0.048873696476221) * MODEL8_texOff(vec2(1,0));
res += mat4(0.097833424806595,-0.035117808729410,-0.029418285936117,-0.003754981560633,-0.075272388756275,0.058716453611851,0.007687026634812,0.074865125119686,-0.129855066537857,0.030014779418707,-0.023216493427753,0.050629064440727,-0.094784691929817,-0.047534476965666,0.021117091178894,-0.094335094094276) * MODEL8_texOff(vec2(1,1));
res += mat4(-0.005941880401224,-0.085295565426350,0.050549432635307,-0.018301201984286,-0.036715306341648,0.022337518632412,-0.081558115780354,0.034045021981001,-0.002175749279559,0.009962902404368,0.065997481346130,-0.241343542933464,-0.014673485420644,0.085792109370232,-0.071545138955116,-0.060530647635460) * MODEL9_texOff(vec2(-1,-1));
res += mat4(0.065643265843391,0.064530096948147,-0.007325286976993,-0.008141698315740,0.101910389959812,0.000288867362542,0.019693562760949,0.086189478635788,0.042812559753656,0.077916033565998,-0.040770202875137,-0.352620810270309,-0.037762455642223,0.212710514664650,-0.215707331895828,0.204849928617477) * MODEL9_texOff(vec2(-1,0));
res += mat4(-0.028235359117389,-0.157826796174049,0.017907654866576,-0.156210258603096,-0.015646127983928,0.010155884549022,0.054002866148949,0.262425452470779,0.039496552199125,0.048171546310186,0.051262211054564,-0.065759636461735,-0.011644536629319,-0.030944854021072,0.031688727438450,0.062139194458723) * MODEL9_texOff(vec2(-1,1));
res += mat4(-0.097832806408405,0.163499698042870,-0.096684239804745,0.030699115246534,0.023294320330024,0.159199923276901,0.036731034517288,0.032943967729807,-0.028666384518147,0.034225553274155,-0.166684061288834,0.016421103850007,0.123932704329491,-0.112099885940552,0.130131915211678,0.043744932860136) * MODEL9_texOff(vec2(0,-1));
res += mat4(0.125460699200630,0.062929794192314,-0.006787677761167,0.015419567003846,-0.102501861751080,0.314649850130081,-0.154441773891449,-0.130889311432838,0.184534177184105,-0.042981036007404,-0.052994776517153,-0.084370218217373,0.017556261271238,0.140804514288902,0.067312717437744,0.095292590558529) * MODEL9_texOff(vec2(0,0));
res += mat4(-0.020686851814389,0.190445974469185,0.113247729837894,-0.219818413257599,0.019647978246212,0.110525891184807,0.148321911692619,-0.284272551536560,-0.118744552135468,0.153788924217224,-0.115679696202278,-0.015291437506676,-0.254404038190842,0.031779255717993,0.118108205497265,0.168351858854294) * MODEL9_texOff(vec2(0,1));
res += mat4(0.004292943980545,0.075873941183090,0.091521933674812,-0.012023409828544,-0.076423674821854,0.090996131300926,0.127496778964996,0.098663896322250,0.007245896849781,0.050245039165020,-0.096946462988853,0.008688017725945,-0.041394192725420,-0.022021332755685,-0.157092407345772,-0.030507029965520) * MODEL9_texOff(vec2(1,-1));
res += mat4(0.069011889398098,-0.077201679348946,-0.025050468742847,-0.017261348664761,0.090672492980957,0.178309693932533,0.433643817901611,-0.041703145951033,0.074687026441097,0.067041039466858,0.042732946574688,-0.082362331449986,-0.072616532444954,-0.205247372388840,-0.191205948591232,-0.056905366480350) * MODEL9_texOff(vec2(1,0));
res += mat4(-0.046473663300276,0.002211576793343,-0.080454699695110,0.080314539372921,0.137712761759758,0.152760744094849,0.036585591733456,-0.123842537403107,-0.007865333929658,-0.027229953557253,-0.060603193938732,-0.063467472791672,-0.099038273096085,-0.081915654242039,-0.076167754828930,-0.055630546063185) * MODEL9_texOff(vec2(1,1));
res += mat4(0.051808573305607,0.016436094418168,0.007648951373994,-0.036651846021414,-0.112686939537525,0.092816837131977,-0.093725830316544,0.065821520984173,0.075431711971760,0.020265776664019,0.182703658938408,0.114593513309956,0.029738755896688,0.090996712446213,0.090712413191795,0.049417752772570) * MODEL10_texOff(vec2(-1,-1));
res += mat4(0.075774215161800,0.085708297789097,0.270526170730591,-0.066013604402542,0.024175476282835,0.050096157938242,0.116389594972134,0.168202489614487,0.045784689486027,0.141546845436096,-0.122501425445080,-0.154422789812088,0.049951124936342,-0.321364909410477,-0.133973002433777,-0.411923497915268) * MODEL10_texOff(vec2(-1,0));
res += mat4(0.053624257445335,0.130798444151878,0.069979585707188,0.111861839890480,-0.053283486515284,-0.074399255216122,0.051475826650858,0.459195792675018,0.050957418978214,0.077051371335983,0.002032624324784,-0.050224862992764,0.073668248951435,-0.054613638669252,-0.056400597095490,0.097083233296871) * MODEL10_texOff(vec2(-1,1));
res += mat4(-0.039361350238323,0.123629122972488,0.066671334207058,-0.063208833336830,-0.007241911254823,0.053805582225323,-0.244998440146446,0.033386986702681,0.100705228745937,0.150576993823051,0.306550234556198,0.013324334286153,-0.180724516510963,0.025359977036715,-0.105909273028374,-0.000573318917304) * MODEL10_texOff(vec2(0,-1));
res += mat4(0.193218126893044,0.249946191906929,-0.068004824221134,-0.143697455525398,-0.043396502733231,-0.156772121787071,-0.140513271093369,0.283205419778824,0.133853495121002,0.309704601764679,0.315602809190750,0.108468331396580,0.164931282401085,0.082966059446335,0.220928385853767,0.016554849222302) * MODEL10_texOff(vec2(0,0));
res += mat4(0.192219257354736,0.119725622236729,0.093122586607933,-0.021283857524395,0.224924013018608,-0.160690650343895,-0.143323808908463,-0.039881464093924,0.216785207390785,0.126958891749382,0.129174515604973,-0.076399832963943,-0.017776928842068,-0.009782728739083,0.121716998517513,-0.316321432590485) * MODEL10_texOff(vec2(0,1));
res += mat4(0.017755584791303,-0.042115766555071,0.123436927795410,-0.046734914183617,-0.010380466468632,-0.062038540840149,-0.049414373934269,0.060558471828699,0.013390560634434,-0.164751470088959,-0.103509157896042,-0.056787140667439,0.042101547122002,-0.017425637692213,0.071029275655746,0.017661398276687) * MODEL10_texOff(vec2(1,-1));
res += mat4(0.055714569985867,-0.235221505165100,0.096596442162991,-0.048991311341524,0.031307395547628,0.084674306213856,-0.147437036037445,0.000199335190700,0.012548227794468,-0.251622825860977,-0.177493482828140,-0.005099364556372,0.124240346252918,0.138831794261932,0.111589424312115,0.015807844698429) * MODEL10_texOff(vec2(1,0));
res += mat4(0.163821265101433,0.007978729903698,0.038489669561386,-0.196520879864693,0.004734218586236,0.142192423343658,-0.003731155535206,-0.027650721371174,-0.084178254008293,-0.036987543106079,0.087371401488781,0.118941873311996,-0.125357329845428,0.135209664702415,-0.030078630894423,-0.021616967394948) * MODEL10_texOff(vec2(1,1));
res += mat4(0.130530327558517,-0.027427263557911,-0.009573382325470,-0.043695922940969,0.104662157595158,-0.189823210239410,0.162925273180008,-0.029278596863151,0.060415331274271,-0.134457960724831,0.102937757968903,-0.118939787149429,-0.090030193328857,-0.184975177049637,0.000165944875334,-0.100990273058414) * MODEL11_texOff(vec2(-1,-1));
res += mat4(0.078181020915508,-0.176493480801582,0.162158727645874,0.040646407753229,-0.006894460413605,0.042226545512676,0.036915395408869,-0.140206918120384,0.012835317291319,-0.078957706689835,0.045779976993799,0.073423087596893,0.114659525454044,-0.161551609635353,0.235427588224411,0.197775125503540) * MODEL11_texOff(vec2(-1,0));
res += mat4(-0.012724609114230,0.096255309879780,-0.008186753839254,0.278047770261765,-0.095585487782955,-0.113625563681126,-0.098185129463673,0.158636286854744,-0.013002795167267,0.039140373468399,0.018145764246583,-0.055334791541100,0.028891528025270,0.077515676617622,0.036881633102894,0.091441214084625) * MODEL11_texOff(vec2(-1,1));
res += mat4(0.044905405491590,-0.176842823624611,-0.046803452074528,-0.069159850478172,-0.254638910293579,-0.097515210509300,-0.112930670380592,-0.015686975792050,-0.104210354387760,-0.054876901209354,-0.095338642597198,-0.015025758184493,-0.145134791731834,0.109983205795288,-0.022445697337389,-0.011270966380835) * MODEL11_texOff(vec2(0,-1));
res += mat4(-0.043962936848402,0.002235138788819,-0.137096419930458,0.058184877038002,-0.034248050302267,0.218635872006416,0.294931650161743,-0.157108530402184,-0.018554270267487,-0.090041600167751,-0.392293244600296,0.143325611948967,0.458319187164307,0.095231384038925,-0.106110148131847,-0.048155486583710) * MODEL11_texOff(vec2(0,0));
res += mat4(0.264272391796112,-0.138626217842102,-0.038497269153595,0.044057577848434,0.097322456538677,-0.131915837526321,-0.134100332856178,-0.000420985452365,0.107261024415493,0.069112837314606,0.071919687092304,0.151471272110939,0.022352049127221,-0.085975609719753,0.013081990182400,-0.309817671775818) * MODEL11_texOff(vec2(0,1));
res += mat4(0.000375644711312,0.005396031774580,0.028080863878131,0.046196941286325,-0.190269663929939,-0.089959450066090,0.075208455324173,0.058096822351217,-0.008128364570439,0.004628557711840,0.013728777877986,0.063444450497627,0.009004977531731,-0.059004575014114,-0.044609002768993,0.066545359790325) * MODEL11_texOff(vec2(1,-1));
res += mat4(0.149827718734741,-0.178942516446114,0.112528063356876,0.037149373441935,-0.065552547574043,-0.196441024541855,-0.058021817356348,-0.006450239103287,0.040581859648228,0.119422860443592,0.025484243407845,0.068072095513344,-0.016458256170154,-0.006139794364572,-0.049344543367624,0.054577395319939) * MODEL11_texOff(vec2(1,0));
res += mat4(-0.036394640803337,0.050723586231470,0.105528309941292,-0.042648889124393,-0.160099476575851,0.028169509023428,0.098619081079960,-0.061325207352638,0.107022047042847,-0.057752277702093,0.021094582974911,-0.062126476317644,0.018348693847656,-0.006577403750271,-0.055734660476446,0.066322818398476) * MODEL11_texOff(vec2(1,1));
res += mat4(-0.019271725788713,0.094878941774368,-0.125321224331856,-0.061491105705500,0.000079328012362,0.169768333435059,0.187583565711975,0.096507899463177,0.095215849578381,-0.027297027409077,-0.003602465149015,-0.109995439648628,-0.038466688245535,0.086377583444118,0.026458213105798,0.011103210970759) * MODEL12_texOff(vec2(-1,-1));
res += mat4(-0.076084360480309,-0.253355920314789,-0.031348634511232,-0.151148974895477,0.060027848929167,0.236465394496918,0.019051605835557,-0.487422555685043,-0.066131442785263,0.045202102512121,0.016505183652043,0.060863867402077,-0.025951728224754,-0.113018848001957,-0.248758405447006,-0.338362842798233) * MODEL12_texOff(vec2(-1,0));
res += mat4(-0.037347763776779,0.008000683039427,-0.055254854261875,0.145450860261917,0.109680309891701,-0.055503100156784,0.076035603880882,-0.028735397383571,-0.041225820779800,-0.327092826366425,0.097206465899944,0.004021530039608,0.003681301837787,-0.024740202352405,-0.027129698544741,-0.182430490851402) * MODEL12_texOff(vec2(-1,1));
res += mat4(0.016331765800714,-0.059680853039026,0.219257295131683,0.168023034930229,0.126703158020973,0.003677648259327,0.123068638145924,0.003929624333978,0.207743778824806,-0.002573318779469,0.125718250870705,-0.041280679404736,-0.230957075953484,-0.207403182983398,-0.104183979332447,0.038301069289446) * MODEL12_texOff(vec2(0,-1));
res += mat4(-0.267491936683655,0.120859228074551,-0.310977250337601,0.171110495924950,0.100718796253204,-0.027653994038701,0.207619369029999,-0.224417537450790,-0.159055426716805,-0.047145105898380,-0.064021512866020,-0.084702499210835,0.284055709838867,-0.510622322559357,-0.143386021256447,-0.033441811800003) * MODEL12_texOff(vec2(0,0));
res += mat4(0.098684370517731,-0.095253914594650,-0.047253157943487,-0.064351499080658,-0.013745578937232,-0.079023323953152,0.055571876466274,-0.241769447922707,-0.462663143873215,-0.035792279988527,-0.164618432521820,0.005493157543242,-0.114067927002907,0.021939471364021,0.305490165948868,-0.193309158086777) * MODEL12_texOff(vec2(0,1));
res += mat4(-0.126365959644318,0.070474497973919,0.036869186908007,0.012478910386562,0.136500060558319,-0.072356425225735,0.003832466900349,0.060991991311312,0.111030772328377,0.001349967787974,0.017272731289268,-0.023346062749624,-0.076693929731846,0.116103895008564,0.167064338922501,0.085799641907215) * MODEL12_texOff(vec2(1,-1));
res += mat4(-0.015063421800733,0.050746433436871,0.094247423112392,-0.061995252966881,-0.055166628211737,-0.008599636144936,0.080871798098087,-0.024717679247260,-0.048273012042046,-0.103724248707294,0.095701292157173,0.009036994539201,0.096157900989056,0.238958835601807,0.225448057055473,0.031450159847736) * MODEL12_texOff(vec2(1,0));
res += mat4(0.085530340671539,0.054882805794477,0.145784154534340,-0.003867137944326,-0.071447364985943,0.055785689502954,-0.028539573773742,0.000717456510756,0.018198953941464,0.221481859683990,0.086272098124027,-0.022592205554247,0.113971792161465,0.015151662752032,0.026301130652428,-0.052565105259418) * MODEL12_texOff(vec2(1,1));
res = max(res, vec4(0.0)) + vec4(0.214748471975327,-0.026883674785495,-0.025014521554112,-0.052472457289696) * min(res, vec4(0.0));
return res;
}

//!HOOK LUMA
//!WHEN OUTPUT.w LUMA.w 2.200 * > OUTPUT.h LUMA.h 2.200 * > *
//!COMPONENTS 4
//!BIND MODEL7
//!BIND MODEL8
//!BIND MODEL9
//!BIND MODEL10
//!BIND MODEL11
//!BIND MODEL12
//!SAVE MODEL5
//!DESC [AiUpscale_HQ_Sharp_3x_LineArt] mapping 7_5

vec4 hook()
{
vec4 res = vec4(-0.024407325312495,-0.173410490155220,-0.236146718263626,0.112430408596992);
res += mat4(0.050786856561899,0.159463807940483,0.067859776318073,-0.055376067757607,0.077701814472675,0.013436267152429,0.019309954717755,0.091330118477345,-0.040201105177402,-0.086262859404087,-0.057890474796295,0.055706311017275,0.077369146049023,-0.002179493196309,-0.106519423425198,0.062634035944939) * MODEL7_texOff(vec2(-1,-1));
res += mat4(-0.029915558174253,-0.102885290980339,0.404396712779999,0.020428597927094,0.104661710560322,0.027999941259623,-0.291431665420532,0.015809623524547,0.223033025860786,0.310621321201324,-0.207522287964821,0.018550673499703,-0.096295692026615,-0.107579402625561,-0.020554073154926,-0.072569400072098) * MODEL7_texOff(vec2(-1,0));
res += mat4(-0.017375847324729,0.016534233465791,-0.099883735179901,0.037488233298063,0.022802826017141,-0.127079531550407,0.126449212431908,-0.039355009794235,-0.007461954839528,-0.010367714799941,0.042901016771793,-0.026607962325215,0.019665397703648,-0.025901891291142,0.137557327747345,-0.022901004180312) * MODEL7_texOff(vec2(-1,1));
res += mat4(0.190344899892807,0.342662543058395,0.095218524336815,-0.205092474818230,0.153155878186226,0.023543732240796,-0.228241235017776,0.193722233176231,0.004044988658279,0.212325632572174,-0.033085633069277,-0.013525859452784,0.244070395827293,0.204817444086075,-0.125901207327843,0.022117281332612) * MODEL7_texOff(vec2(0,-1));
res += mat4(-0.279199570417404,-0.084262832999229,0.303223520517349,-0.067102879285812,0.502198100090027,-0.004096277989447,0.008881295099854,0.028947552666068,0.149967148900032,-0.036804974079132,0.272979825735092,0.004415517672896,-0.446857929229736,-0.102306574583054,0.362286567687988,0.110437557101250) * MODEL7_texOff(vec2(0,0));
res += mat4(0.152617618441582,0.045055482536554,-0.140874490141869,0.109951473772526,-0.251314193010330,-0.239492416381836,0.070275805890560,-0.065036810934544,0.122741445899010,0.197204679250717,-0.028923487290740,-0.026580100879073,-0.132950499653816,-0.197683706879616,0.106362961232662,-0.009853734634817) * MODEL7_texOff(vec2(0,1));
res += mat4(0.125028192996979,0.222438439726830,-0.023380007594824,-0.123962134122849,0.154856666922569,0.155257284641266,-0.081926345825195,0.083886615931988,0.049992490559816,0.098643682897091,0.014289983548224,-0.008200603537261,0.233742147684097,0.007054953370243,-0.103647656738758,-0.008716490119696) * MODEL7_texOff(vec2(1,-1));
res += mat4(0.067278958857059,-0.003170745680109,0.108601108193398,-0.073888882994652,0.202501639723778,0.122288957238197,-0.044961910694838,0.007298735901713,0.004537029657513,-0.079314954578876,-0.043967593461275,0.006271733902395,-0.296817213296890,-0.189563617110252,-0.122037678956985,0.127515763044357) * MODEL7_texOff(vec2(1,0));
res += mat4(0.049217332154512,0.041468203067780,0.016436599195004,0.087874598801136,-0.113828472793102,-0.132606595754623,-0.028934404253960,-0.070551775395870,0.000457116228063,0.124905295670033,0.058345880359411,0.041951876133680,0.143618419766426,0.085480093955994,-0.029102742671967,0.053926788270473) * MODEL7_texOff(vec2(1,1));
res += mat4(-0.006791911553591,-0.027602268382907,-0.059819541871548,0.001209423062392,-0.039380025118589,-0.101056598126888,0.079666100442410,-0.007202653679997,0.145987287163734,0.134157747030258,-0.043783299624920,0.012319506146014,-0.022433362901211,0.033107336610556,-0.088490150868893,0.033225871622562) * MODEL8_texOff(vec2(-1,-1));
res += mat4(0.040704917162657,0.077157095074654,-0.120561964809895,-0.080610647797585,0.120956972241402,0.137772515416145,0.109958022832870,-0.006722039543092,-0.231752410531044,-0.103672049939632,-0.328331649303436,-0.143380790948868,0.046329442411661,-0.044447995722294,-0.010872123762965,0.018600562587380) * MODEL8_texOff(vec2(-1,0));
res += mat4(0.021365510299802,-0.060552045702934,-0.016815779730678,-0.068889118731022,0.009171023033559,-0.038266308605671,-0.144233122467995,0.054985065013170,-0.030395099893212,-0.005840817000717,0.110689587891102,-0.050190322101116,-0.026559624820948,0.011931990273297,0.073353685438633,-0.001460644765757) * MODEL8_texOff(vec2(-1,1));
res += mat4(0.091429591178894,0.018937930464745,-0.077331215143204,-0.040252350270748,0.081627897918224,0.124283477663994,-0.016203418374062,0.028467239812016,-0.047016315162182,0.044104747474194,-0.027108443900943,0.012189033441246,-0.008333902806044,-0.120547346770763,-0.208036512136459,0.125129446387291) * MODEL8_texOff(vec2(0,-1));
res += mat4(0.323262095451355,0.095445215702057,0.009399073198438,0.069198921322823,-0.197162345051765,-0.027557097375393,-0.053153224289417,-0.044125825166702,0.171548157930374,-0.076586082577705,0.317693740129471,0.015352435410023,-0.172380954027176,-0.531150102615356,0.032967828214169,0.146886423230171) * MODEL8_texOff(vec2(0,0));
res += mat4(0.080551095306873,-0.002027425449342,-0.092904485762119,0.012573577463627,-0.000217761509703,-0.019231129437685,-0.114709161221981,0.020215598866343,0.027725186198950,0.131037965416908,-0.017668744549155,-0.014210121706128,-0.095686487853527,0.167552873492241,0.075210705399513,0.053816597908735) * MODEL8_texOff(vec2(0,1));
res += mat4(0.029007876291871,0.150229915976524,0.009784964844584,-0.043023504316807,-0.049554027616978,0.022649345919490,0.025163436308503,0.037498395889997,0.022029979154468,-0.011559591628611,0.044343627989292,-0.068977326154709,0.000279160332866,-0.088148742914200,-0.035457391291857,-0.001350394217297) * MODEL8_texOff(vec2(1,-1));
res += mat4(-0.136988490819931,-0.298700183629990,-0.156990706920624,0.110568985342979,0.077823616564274,-0.117180936038494,0.151391908526421,-0.029841160401702,-0.085135608911514,0.098751321434975,-0.060675624758005,-0.016374040395021,0.071192301809788,0.139435783028603,-0.123520687222481,0.006821384653449) * MODEL8_texOff(vec2(1,0));
res += mat4(0.243586465716362,0.190767630934715,-0.012978437356651,0.098643742501736,-0.015882641077042,0.052465394139290,0.046229988336563,-0.029708657413721,-0.017076907679439,-0.042382966727018,-0.026279386132956,0.013670226559043,0.000571512093302,-0.022334868088365,-0.063996456563473,0.022060478106141) * MODEL8_texOff(vec2(1,1));
res += mat4(-0.124983072280884,-0.063511647284031,0.124220438301563,0.000178450951353,-0.037304773926735,-0.060943726450205,0.035925745964050,-0.047122847288847,-0.110474742949009,0.050433471798897,-0.131968200206757,-0.042871281504631,-0.034850377589464,-0.073388792574406,-0.133032485842705,-0.015057280659676) * MODEL9_texOff(vec2(-1,-1));
res += mat4(-0.036948096007109,-0.140847310423851,-0.200016573071480,0.063725523650646,0.005299648735672,0.049944721162319,0.188055425882339,0.159663066267967,-0.030996026471257,-0.123133711516857,-0.287129372358322,-0.003972537349910,0.107275150716305,0.136069819331169,-0.197688221931458,-0.105162233114243) * MODEL9_texOff(vec2(-1,0));
res += mat4(0.055361084640026,0.122578658163548,-0.089824318885803,-0.001955872634426,-0.060018580406904,-0.054061926901340,-0.017945425584912,0.062003642320633,0.019055796787143,0.083511881530285,0.035802006721497,0.001243076752871,0.010947728529572,-0.013481754809618,0.073677681386471,-0.019398981705308) * MODEL9_texOff(vec2(-1,1));
res += mat4(-0.361925482749939,-0.431480705738068,0.099340729415417,0.008584502153099,0.157964199781418,-0.064393959939480,-0.033305477350950,0.029696112498641,-0.035912755876780,-0.133363306522369,0.265226215124130,-0.008435320109129,-0.066916257143021,-0.141486957669258,-0.053082697093487,0.028381418436766) * MODEL9_texOff(vec2(0,-1));
res += mat4(-0.214234471321106,-0.234487354755402,-0.104969844222069,-0.044414557516575,0.165611639618874,0.199281200766563,-0.290673464536667,-0.091168031096458,-0.271593362092972,-0.193556651473045,0.032256178557873,0.083183608949184,0.201060637831688,0.263931930065155,0.029221830889583,-0.026902174577117) * MODEL9_texOff(vec2(0,0));
res += mat4(0.096081569790840,-0.024713329970837,0.229563638567924,-0.054588705301285,-0.021416155621409,-0.118280038237572,0.139707267284393,-0.045673590153456,-0.099186845123768,-0.013200046494603,0.056075341999531,-0.040507920086384,-0.106132507324219,-0.196691617369652,0.011793247424066,-0.011500214226544) * MODEL9_texOff(vec2(0,1));
res += mat4(0.031365316361189,0.012561129406095,0.032092064619064,0.038231339305639,-0.119697086513042,0.072204276919365,-0.056061968207359,-0.068964190781116,0.124728627502918,0.019633876159787,0.014767671935260,0.075864709913731,0.008988950401545,-0.076174370944500,0.041694462299347,-0.019769078120589) * MODEL9_texOff(vec2(1,-1));
res += mat4(-0.048713386058807,0.077953353524208,0.025502186268568,0.005406570620835,0.148465350270271,0.157389059662819,-0.102967180311680,0.006815742701292,-0.040151648223400,-0.123775750398636,0.034256413578987,0.121022708714008,-0.002916935132816,-0.035596147179604,-0.074947997927666,-0.017877638339996) * MODEL9_texOff(vec2(1,0));
res += mat4(-0.077918864786625,-0.004746106453240,-0.038332775235176,-0.037853803485632,-0.003950775135309,-0.194804996252060,-0.031694907695055,-0.071199350059032,-0.078249119222164,0.055391170084476,-0.016453076153994,-0.005802506580949,0.098379574716091,-0.012631096877158,-0.049489393830299,-0.024313531816006) * MODEL9_texOff(vec2(1,1));
res += mat4(-0.014488381333649,0.046133302152157,-0.024072267115116,0.064215920865536,0.040310725569725,0.109488308429718,0.059056807309389,-0.014542431570590,0.116245873272419,-0.157717511057854,-0.046859867870808,0.018938954919577,-0.049045827239752,-0.085331477224827,0.063935771584511,-0.047576531767845) * MODEL10_texOff(vec2(-1,-1));
res += mat4(0.163341403007507,0.008981122635305,-0.039265878498554,0.122400134801865,0.098822943866253,-0.036069527268410,0.018576214089990,0.106212899088860,-0.007155830040574,-0.050214432179928,-0.008811634033918,-0.115218348801136,-0.146901041269302,-0.021728767082095,0.000969982706010,-0.047404587268829) * MODEL10_texOff(vec2(-1,0));
res += mat4(-0.087556168437004,-0.064765028655529,0.129122391343117,0.071627683937550,-0.071075655519962,-0.004170388914645,0.003750883974135,0.112534590065479,-0.165152683854103,0.099828749895096,0.031506069004536,-0.056094657629728,-0.020896159112453,0.046315789222717,-0.102951548993587,0.038280647248030) * MODEL10_texOff(vec2(-1,1));
res += mat4(0.050303660333157,-0.068226687610149,0.057212658226490,-0.002247670199722,-0.042038787156343,-0.147529423236847,0.032545331865549,-0.030176972970366,0.008610224351287,0.089021876454353,0.044641796499491,0.108152292668819,-0.010586000978947,0.225137218832970,0.016410419717431,-0.176459252834320) * MODEL10_texOff(vec2(0,-1));
res += mat4(-0.309202462434769,-0.219441041350365,-0.190892383456230,-0.009743237867951,-0.106164544820786,-0.069014653563499,0.076220482587814,0.037846058607101,-0.130144491791725,-0.600980877876282,0.083137802779675,0.217077016830444,-0.446761846542358,-0.138863354921341,-0.192608207464218,-0.037807635962963) * MODEL10_texOff(vec2(0,0));
res += mat4(-0.055373661220074,-0.042794819921255,0.036460593342781,0.001667147385888,0.090895213186741,0.168711200356483,-0.137058407068253,0.023024277761579,0.038710936903954,0.188448041677475,0.050540912896395,0.074708692729473,0.084071569144726,-0.066841199994087,-0.025149358436465,0.023632824420929) * MODEL10_texOff(vec2(0,1));
res += mat4(0.029985303059220,0.080935209989548,-0.039625033736229,-0.034061513841152,-0.075289145112038,-0.045054741203785,-0.028981672599912,0.004617472644895,0.059781789779663,0.028509318828583,0.012260602787137,0.083697259426117,-0.143522560596466,-0.122619614005089,-0.070939548313618,-0.078016437590122) * MODEL10_texOff(vec2(1,-1));
res += mat4(-0.097796127200127,-0.014278798364103,0.002420160686597,-0.121827296912670,-0.026572622358799,-0.143206983804703,-0.037132453173399,-0.145501255989075,-0.016034783795476,0.051133353263140,-0.134496569633484,0.151892900466919,0.059355352073908,0.249826461076736,-0.043887779116631,-0.020316740497947) * MODEL10_texOff(vec2(1,0));
res += mat4(-0.026083400472999,0.103142723441124,0.015992389991879,-0.056458596140146,-0.027767553925514,-0.084450662136078,0.005284093320370,-0.138983458280563,-0.104444533586502,0.146559283137321,-0.020812893286347,0.100369773805141,-0.004731499124318,0.088780023157597,0.036699149757624,0.025272388011217) * MODEL10_texOff(vec2(1,1));
res += mat4(-0.027957165613770,0.069297470152378,0.016484290361404,0.066538706421852,-0.174978777766228,-0.162344574928284,0.158715620636940,0.078564748167992,-0.101118184626102,0.020997263491154,0.218352645635605,-0.016845546662807,-0.026685981079936,0.089191764593124,0.106728427112103,-0.138240486383438) * MODEL11_texOff(vec2(-1,-1));
res += mat4(0.159187123179436,0.099869750440121,0.073739334940910,0.311793059110641,-0.082039915025234,0.055853459984064,-0.112752340734005,-0.001447778660804,0.108349353075027,0.057808134704828,-0.005536916200072,-0.049572486430407,-0.030620461329818,-0.022248473018408,0.420539736747742,-0.072059832513332) * MODEL11_texOff(vec2(-1,0));
res += mat4(-0.100835017859936,0.020109441131353,-0.112039402127266,0.160398066043854,0.096846081316471,0.051885146647692,-0.134102001786232,0.014025486074388,-0.061722617596388,-0.031143862754107,0.054940521717072,0.012419576756656,-0.016998467966914,-0.004997002426535,-0.010189391672611,-0.013591938652098) * MODEL11_texOff(vec2(-1,1));
res += mat4(0.054085917770863,-0.034909389913082,-0.101306453347206,0.096052303910255,0.147088885307312,0.131908372044563,0.004627557471395,-0.184336841106415,0.204636573791504,0.059386771172285,0.145880445837975,-0.074656873941422,-0.095666073262691,-0.186864703893661,-0.020394515246153,-0.128164708614349) * MODEL11_texOff(vec2(0,-1));
res += mat4(-0.086373828351498,-0.161768794059753,0.077414117753506,0.448293060064316,-0.148376598954201,-0.010156254284084,0.123403534293175,0.080122292041779,-0.350040882825851,-0.273071885108948,0.283772796392441,-0.195568948984146,-0.475165396928787,0.088127523660660,-0.126773044466972,-0.076510250568390) * MODEL11_texOff(vec2(0,0));
res += mat4(0.167292013764381,0.097655422985554,-0.178627103567123,0.192577406764030,0.111012741923332,-0.006573949009180,-0.220443606376648,0.064948029816151,0.136934265494347,0.002635980956256,0.055234733968973,-0.029259439557791,-0.042766030877829,-0.091857247054577,-0.069887489080429,0.061363842338324) * MODEL11_texOff(vec2(0,1));
res += mat4(-0.022370809689164,-0.019899642094970,-0.056227877736092,-0.014110490679741,-0.043310552835464,0.190918281674385,-0.038687206804752,-0.129362210631371,-0.007480622734874,0.026679905131459,0.014480062760413,0.001501330058090,0.019787300378084,-0.021651444956660,0.036802344024181,0.007112422492355) * MODEL11_texOff(vec2(1,-1));
res += mat4(-0.027421679347754,0.097222693264484,-0.026967387646437,0.123568572103977,-0.164356395602226,0.092539645731449,-0.174886032938957,0.023834504187107,-0.102132864296436,-0.243170976638794,0.012847688049078,-0.015015732496977,-0.001902664545923,0.095851130783558,0.019666098058224,0.090602688491344) * MODEL11_texOff(vec2(1,0));
res += mat4(-0.014782805927098,-0.225760743021965,-0.011024415493011,0.063897386193275,-0.035193569958210,-0.070768781006336,-0.043928857892752,0.083180986344814,-0.023095997050405,0.011450422927737,-0.023335807025433,0.049339495599270,0.003356854896992,-0.045556213706732,0.002583272522315,-0.042218446731567) * MODEL11_texOff(vec2(1,1));
res += mat4(0.001768282847479,-0.028503144159913,-0.194547578692436,0.039363715797663,-0.008986433967948,0.079521268606186,-0.122581079602242,-0.033384002745152,-0.082711823284626,-0.023369809612632,-0.114308394491673,0.064088828861713,0.043029289692640,-0.034506626427174,-0.011223077774048,-0.044397130608559) * MODEL12_texOff(vec2(-1,-1));
res += mat4(0.032694082707167,0.018193548545241,0.061206106096506,0.048687726259232,-0.012477152049541,0.078180886805058,-0.047223336994648,-0.060729753226042,0.147042468190193,0.216022074222565,-0.063385330140591,-0.055378489196301,-0.074587456882000,0.030351713299751,-0.359228372573853,-0.152601897716522) * MODEL12_texOff(vec2(-1,0));
res += mat4(0.156875193119049,0.148180797696114,0.006908363662660,-0.055977292358875,0.018990524113178,-0.021213643252850,-0.024085894227028,-0.005709444172680,0.046409547328949,-0.084018230438232,0.232132628560066,-0.031140312552452,-0.016768744215369,0.028711950406432,0.054746393114328,-0.106734588742256) * MODEL12_texOff(vec2(-1,1));
res += mat4(-0.007684234529734,-0.229224815964699,0.029065703973174,0.129307687282562,0.112024642527103,0.166908264160156,0.173049926757813,0.109847284853458,-0.125531211495399,-0.125896528363228,-0.171885415911674,0.159561529755592,0.148801967501640,0.136521026492119,0.083616591989994,-0.109770588576794) * MODEL12_texOff(vec2(0,-1));
res += mat4(-0.383049011230469,-0.170469388365746,0.447798222303391,-0.122356861829758,0.222367286682129,0.115154288709164,0.022990349680185,0.054951716214418,0.195400908589363,0.389183402061462,0.038752816617489,-0.090951152145863,-0.108045637607574,-0.386982798576355,-0.241459652781487,0.692446231842041) * MODEL12_texOff(vec2(0,0));
res += mat4(0.167281866073608,0.109204791486263,-0.061176653951406,-0.045004650950432,-0.033059652894735,-0.050815556198359,0.194263115525246,-0.048750143498182,-0.050684995949268,0.030872989445925,0.047473791986704,-0.158434823155403,-0.210024222731590,-0.085582815110683,0.021683946251869,-0.018540238961577) * MODEL12_texOff(vec2(0,1));
res += mat4(0.089474804699421,0.169952169060707,0.092317402362823,-0.025649601593614,-0.040671382099390,-0.143715485930443,0.040451258420944,0.084650032222271,0.022334547713399,-0.077995896339417,0.035126954317093,0.027883315458894,-0.077319107949734,0.090487860143185,0.058729842305183,-0.051459636539221) * MODEL12_texOff(vec2(1,-1));
res += mat4(-0.013151131570339,-0.143429771065712,0.015255141071975,-0.042498931288719,0.074857324361801,-0.050396122038364,-0.061187550425529,0.090526320040226,0.025602886453271,0.197656750679016,-0.002717354334891,-0.008303496986628,0.124350346624851,-0.188930809497833,0.065376706421375,-0.118297532200813) * MODEL12_texOff(vec2(1,0));
res += mat4(0.139837145805359,0.054531939327717,0.070064812898636,0.004833897575736,-0.055535767227411,-0.039903070777655,0.075119666755199,-0.024710485711694,0.043157894164324,-0.002528405515477,0.034801304340363,-0.129725113511086,-0.010855752043426,-0.021521009504795,0.037873666733503,-0.079783096909523) * MODEL12_texOff(vec2(1,1));
res = max(res, vec4(0.0)) + vec4(0.176050588488579,0.003938688430935,0.020914461463690,0.979443371295929) * min(res, vec4(0.0));
return res;
}

//!HOOK LUMA
//!WHEN OUTPUT.w LUMA.w 2.200 * > OUTPUT.h LUMA.h 2.200 * > *
//!COMPONENTS 4
//!BIND MODEL7
//!BIND MODEL8
//!BIND MODEL9
//!BIND MODEL10
//!BIND MODEL11
//!BIND MODEL12
//!SAVE MODEL6
//!DESC [AiUpscale_HQ_Sharp_3x_LineArt] mapping 7_6

vec4 hook()
{
vec4 res = vec4(-0.011527160182595,0.062582619488239,0.038379024714231,0.338434636592865);
res += mat4(-0.015328262001276,0.001533705624752,0.129154458642006,0.260531693696976,0.174571633338928,0.067872889339924,-0.176000818610191,-0.355627894401550,0.001247763400897,-0.147549822926521,0.044515851885080,0.046969108283520,0.058860484510660,-0.039720889180899,-0.189894482493401,0.059586971998215) * MODEL7_texOff(vec2(-1,-1));
res += mat4(0.156156688928604,-0.161575779318810,-0.025892795994878,0.084378071129322,-0.093563385307789,-0.001624628552236,-0.250229239463806,-0.051031406968832,-0.024358980357647,0.015339748002589,0.033933304250240,-0.112524561583996,-0.024005087092519,0.139482378959656,0.021120311692357,-0.051127888262272) * MODEL7_texOff(vec2(-1,0));
res += mat4(-0.151832640171051,-0.069597944617271,-0.025640597566962,0.009361375123262,0.072482310235500,-0.019888443872333,0.062119368463755,0.129508361220360,-0.001577707356773,0.071119002997875,-0.007337273098528,-0.023337954655290,0.048889834433794,0.016074577346444,-0.036793079227209,0.035760704427958) * MODEL7_texOff(vec2(-1,1));
res += mat4(-0.148500561714172,0.208871871232986,0.180661499500275,0.042530950158834,0.071198292076588,-0.186562836170197,-0.355452954769135,0.212538614869118,0.014173177070916,0.282852828502655,0.107383929193020,-0.103952899575233,0.107456006109715,0.032896108925343,-0.074478402733803,-0.053219139575958) * MODEL7_texOff(vec2(0,-1));
res += mat4(0.231039375066757,-0.220675706863403,0.128133639693260,0.047187797725201,-0.229116484522820,0.022761793807149,-0.560179471969604,0.047392252832651,-0.029745303094387,0.126920580863953,-0.085906103253365,0.201336190104485,-0.221319049596786,-0.223412826657295,-0.047643866389990,-0.038096684962511) * MODEL7_texOff(vec2(0,0));
res += mat4(-0.087117478251457,0.086631827056408,-0.145143434405327,0.060879919677973,0.048323284834623,-0.134402006864548,0.268575817346573,0.014219061471522,-0.063072204589844,0.055109910666943,-0.276949316263199,-0.032214675098658,0.039086896926165,-0.219173669815063,-0.014481925405562,0.015887910500169) * MODEL7_texOff(vec2(0,1));
res += mat4(0.059832703322172,-0.271263420581818,0.261730164289474,-0.153105080127716,0.012633270584047,0.098844073712826,0.031518850475550,0.113289117813110,0.067180596292019,0.005574757698923,-0.056318242102861,-0.087060086429119,0.061562784016132,0.146430268883705,-0.092607773840427,-0.067522808909416) * MODEL7_texOff(vec2(1,-1));
res += mat4(0.213493615388870,0.033614691346884,-0.041439570486546,-0.055469658225775,0.101993165910244,-0.100878298282623,-0.351516216993332,0.099795296788216,-0.129384517669678,-0.270698398351669,-0.020062346011400,0.163263812661171,-0.194011986255646,0.084153264760971,0.025164080783725,0.024733135476708) * MODEL7_texOff(vec2(1,0));
res += mat4(-0.054301016032696,-0.063821412622929,0.046533998101950,0.049779947847128,-0.016396498307586,0.006655011791736,0.026954719796777,-0.190212383866310,-0.115932486951351,-0.169142827391624,-0.052929818630219,0.093306027352810,0.159557819366455,0.244019687175751,-0.237272903323174,0.005238264799118) * MODEL7_texOff(vec2(1,1));
res += mat4(0.054319489747286,-0.035534344613552,0.044832400977612,0.010687210597098,-0.034263070672750,-0.030540220439434,0.116506502032280,0.052481014281511,0.052039355039597,0.068843081593513,-0.044235493987799,-0.001178284757771,0.044491492211819,0.063852533698082,-0.026593040674925,-0.015675326809287) * MODEL8_texOff(vec2(-1,-1));
res += mat4(0.031052835285664,0.075633458793163,0.112915962934494,0.058815140277147,0.132540568709373,0.138755008578300,-0.098924800753593,-0.057966310530901,0.058777343481779,0.202107653021812,0.061054151505232,-0.010646469891071,-0.120060525834560,-0.310063630342484,-0.057737242430449,-0.010742303915322) * MODEL8_texOff(vec2(-1,0));
res += mat4(-0.007438019849360,0.045263752341270,0.001945313182659,0.181999549269676,0.058384370058775,0.048388909548521,-0.033513303846121,0.028635645285249,0.056158129125834,0.265939652919769,0.100159734487534,-0.183358401060104,0.031343080103397,0.042162779718637,0.045592345297337,-0.101756371557713) * MODEL8_texOff(vec2(-1,1));
res += mat4(-0.017793415114284,0.195586696267128,-0.080363959074020,0.083841562271118,-0.010374582372606,0.033216491341591,-0.126821845769882,0.233131557703018,0.142025098204613,0.103346586227417,0.167874336242676,-0.029957281425595,0.010122836567461,-0.096622012555599,-0.077463343739510,0.037986796349287) * MODEL8_texOff(vec2(0,-1));
res += mat4(0.044991739094257,0.144547820091248,-0.548254072666168,0.205973729491234,-0.040108334273100,-0.419646382331848,0.048767298460007,-0.371433556079865,0.043224792927504,0.183942854404449,0.041883639991283,0.092958398163319,-0.356069207191467,-0.242218643426895,0.018631940707564,0.130403965711594) * MODEL8_texOff(vec2(0,0));
res += mat4(0.000272945035249,0.212896853685379,-0.284295856952667,-0.207224473357201,0.092850327491760,-0.402747064828873,0.059448473155499,0.254645705223083,-0.022777343168855,0.325116306543350,0.086663506925106,0.053138963878155,-0.246563583612442,-0.376732438802719,0.016839636489749,-0.022806746885180) * MODEL8_texOff(vec2(0,1));
res += mat4(-0.113810919225216,-0.147109448909760,0.078367806971073,0.043564468622208,0.111519552767277,-0.143774107098579,0.070313803851604,0.029939485713840,0.017249802127481,0.026892850175500,0.113886348903179,0.203961357474327,-0.058056045323610,-0.104646228253841,-0.120724089443684,-0.048055045306683) * MODEL8_texOff(vec2(1,-1));
res += mat4(0.158425107598305,-0.037625227123499,-0.329578578472137,0.074482515454292,-0.055376552045345,0.142819643020630,-0.005904798861593,0.035630203783512,0.072787865996361,-0.100114732980728,0.097133405506611,0.130349174141884,0.119510151445866,-0.355281412601471,-0.205519393086433,-0.070429913699627) * MODEL8_texOff(vec2(1,0));
res += mat4(-0.101836778223515,-0.220679879188538,-0.346639513969421,0.117411851882935,-0.096413940191269,-0.019920282065868,0.029395317658782,-0.042544748634100,0.030817726626992,-0.112493388354778,0.073425613343716,0.208081066608429,0.124185875058174,-0.278215765953064,-0.041714716702700,-0.155060216784477) * MODEL8_texOff(vec2(1,1));
res += mat4(0.078075304627419,-0.032952893525362,-0.072007186710835,-0.067768089473248,-0.059646878391504,0.048291087150574,0.015160706825554,-0.028494559228420,-0.042584292590618,0.086188353598118,0.028173726052046,0.034744258970022,-0.054212965071201,0.038768947124481,-0.058517657220364,0.007110517006367) * MODEL9_texOff(vec2(-1,-1));
res += mat4(-0.231518402695656,-0.020444387570024,-0.097136341035366,-0.041722889989614,0.066263966262341,-0.007212693337351,0.065339736640453,-0.053437065333128,0.011297518387437,-0.061719596385956,-0.033813040703535,-0.065429598093033,0.013702494092286,0.039711903780699,-0.142626747488976,-0.084098540246487) * MODEL9_texOff(vec2(-1,0));
res += mat4(-0.082289494574070,0.086037985980511,0.007582351099700,-0.008991234935820,-0.060344316065311,0.099281124770641,-0.040783066302538,0.025075109675527,-0.056525200605392,-0.027611380442977,0.003328105667606,0.032231457531452,-0.032061301171780,-0.037524249404669,-0.069423817098141,0.065821617841721) * MODEL9_texOff(vec2(-1,1));
res += mat4(0.170119717717171,-0.085136160254478,-0.039214566349983,-0.141578525304794,-0.013997794128954,-0.021072968840599,0.095252685248852,-0.007292035967112,0.086441658437252,-0.071420453488827,0.226980879902840,-0.178523153066635,0.083864264190197,-0.109506122767925,0.019853400066495,0.000488777412102) * MODEL9_texOff(vec2(0,-1));
res += mat4(-0.045500177890062,0.145324021577835,-0.059672616422176,0.165573313832283,0.000279751518974,0.159071788191795,-0.092762172222137,-0.132228165864944,0.057325601577759,0.040891304612160,0.015263730660081,0.016964226961136,0.015398700721562,-0.199511989951134,-0.397195011377335,-0.076611734926701) * MODEL9_texOff(vec2(0,0));
res += mat4(-0.124960705637932,-0.003177721751854,0.112398304045200,0.201695024967194,-0.016395110636950,0.068747572600842,0.041153986006975,0.088114641606808,-0.130119174718857,0.157082259654999,0.107183225452900,0.030389806255698,0.098612196743488,-0.000846139388159,-0.039849162101746,-0.069307133555412) * MODEL9_texOff(vec2(0,1));
res += mat4(0.082860767841339,0.073091186583042,-0.023481015115976,-0.019818145781755,-0.002850906923413,-0.101105466485023,0.110213063657284,-0.099672526121140,0.123215787112713,0.054259054362774,-0.119072631001472,0.221825614571571,-0.037039287388325,0.056927539408207,-0.085788525640965,0.184469968080521) * MODEL9_texOff(vec2(1,-1));
res += mat4(-0.135886654257774,0.125428169965744,0.000627059373073,-0.182423248887062,0.043642118573189,0.250619202852249,0.132972553372383,-0.055513523519039,-0.001533725182526,0.012071797624230,0.036135639995337,0.092514201998711,0.154687598347664,-0.052425943315029,-0.086665019392967,0.090999305248260) * MODEL9_texOff(vec2(1,0));
res += mat4(-0.145596802234650,-0.113352596759796,0.012461295351386,-0.077585801482201,0.000184034710401,0.358064502477646,0.040163636207581,-0.029378166422248,-0.093787647783756,-0.125345557928085,0.070594191551208,0.072405263781548,0.022407131269574,0.015960663557053,0.016275556758046,0.109070472419262) * MODEL9_texOff(vec2(1,1));
res += mat4(0.040934782475233,-0.081938110291958,-0.258570075035095,-0.112364009022713,0.013188027776778,-0.074060499668121,-0.181738600134850,-0.125193223357201,0.012276850640774,-0.018199272453785,-0.043342489749193,-0.104456491768360,-0.062193520367146,-0.020759925246239,0.207424104213715,0.135088697075844) * MODEL10_texOff(vec2(-1,-1));
res += mat4(-0.113876186311245,-0.017468059435487,-0.227947503328323,0.174901440739632,0.068576045334339,-0.162650361657143,-0.374342828989029,0.050993256270885,-0.050705045461655,0.120572231709957,0.239113539457321,-0.365142017602921,0.038984939455986,0.100395686924458,0.202185600996017,-0.010388528928161) * MODEL10_texOff(vec2(-1,0));
res += mat4(0.051431179046631,-0.116465941071510,-0.072581276297569,-0.127238571643829,-0.129106074571609,-0.187626004219055,-0.118994921445847,-0.106104955077171,0.098221391439438,0.208056718111038,0.192545458674431,-0.210966810584068,-0.003572437912226,0.116969779133797,-0.060995221138000,-0.107038982212543) * MODEL10_texOff(vec2(-1,1));
res += mat4(0.078837655484676,0.194726392626762,-0.035179972648621,-0.284581154584885,0.071950897574425,0.267039775848389,-0.064723491668701,-0.056345134973526,0.131877943873405,0.192842498421669,0.313738852739334,0.006010990589857,-0.087702624499798,0.128649801015854,0.186504796147346,0.051884889602661) * MODEL10_texOff(vec2(0,-1));
res += mat4(-0.001236877171323,0.137345865368843,-0.069612979888916,-0.589866459369659,-0.058932326734066,0.167080610990524,-0.081532701849937,-0.479703933000565,-0.249511674046516,0.053317502140999,0.153706997632980,0.019895939156413,0.265584468841553,-0.236865162849426,0.175095215439796,-0.252070099115372) * MODEL10_texOff(vec2(0,0));
res += mat4(-0.043382413685322,0.026116248220205,-0.097620144486427,-0.136977002024651,-0.018545011058450,0.109859988093376,-0.162228837609291,-0.175603777170181,0.005326389800757,0.022582655772567,0.096594043076038,0.087124645709991,0.076749920845032,-0.035504765808582,-0.282708048820496,-0.042599059641361) * MODEL10_texOff(vec2(0,1));
res += mat4(-0.005782853346318,-0.079061016440392,-0.001061461167410,-0.014192319475114,0.022676419466734,-0.047434717416763,0.042826164513826,-0.111863963305950,-0.009178062900901,-0.024234123528004,-0.196195542812347,0.293429434299469,-0.069335602223873,-0.108222752809525,0.044216983020306,-0.110243543982506) * MODEL10_texOff(vec2(1,-1));
res += mat4(-0.054944485425949,-0.030257562175393,0.141169160604477,-0.363342702388763,-0.150621101260185,-0.016477551311255,-0.018421709537506,-0.035805080085993,0.022089784964919,-0.086313158273697,0.047788877040148,0.329208254814148,0.051333855837584,-0.101886786520481,-0.127876326441765,-0.189832344651222) * MODEL10_texOff(vec2(1,0));
res += mat4(0.098898246884346,-0.046814925968647,0.081849493086338,-0.144985854625702,0.011053128167987,0.211076229810715,0.045372515916824,-0.039256807416677,-0.015678614377975,0.094923108816147,0.079194009304047,0.159400418400764,0.100998513400555,0.033129807561636,-0.049302116036415,-0.090677551925182) * MODEL10_texOff(vec2(1,1));
res += mat4(-0.067877143621445,0.095755904912949,0.054100483655930,-0.031278315931559,-0.002344048116356,-0.156355738639832,0.100300997495651,0.042587868869305,-0.038998790085316,-0.042733125388622,0.285195022821426,0.076837442815304,0.041862677782774,0.110875584185123,0.082169987261295,-0.083260297775269) * MODEL11_texOff(vec2(-1,-1));
res += mat4(0.136082619428635,-0.154554799199104,0.078543588519096,0.017813647165895,0.094702802598476,0.087549872696400,0.028127934783697,-0.424491524696350,0.036460444331169,-0.056192547082901,0.052060477435589,-0.069348193705082,-0.029385942965746,-0.277833521366119,0.084908470511436,0.007992479018867) * MODEL11_texOff(vec2(-1,0));
res += mat4(0.168010309338570,0.032369732856750,-0.020067360252142,-0.147123038768768,-0.073315560817719,-0.000511987134814,-0.152740165591240,0.001356616616249,0.026997353881598,-0.037710107862949,0.081999547779560,0.028451429679990,-0.143841847777367,-0.008405387401581,-0.031023290008307,-0.020210040733218) * MODEL11_texOff(vec2(-1,1));
res += mat4(-0.097087867558002,0.111861936748028,-0.089316479861736,0.260732710361481,-0.009914221242070,0.226750761270523,0.244179025292397,-0.138302311301231,0.048256281763315,-0.126936048269272,0.039374031126499,0.035075154155493,0.141890004277229,-0.084555149078369,-0.159495145082474,-0.128611668944359) * MODEL11_texOff(vec2(0,-1));
res += mat4(0.201146781444550,0.436646789312363,0.243355140089989,0.017796248197556,0.538859903812408,-0.009586228989065,0.131034508347511,-0.316980779170990,-0.421686768531799,-0.260429948568344,0.186201065778732,0.142159879207611,-0.282508701086044,0.081560857594013,0.164063230156898,-0.085455261170864) * MODEL11_texOff(vec2(0,0));
res += mat4(-0.113479949533939,0.162675395607948,-0.105265080928802,0.169097810983658,-0.078398458659649,-0.097373522818089,-0.277183890342712,0.159277155995369,0.040341727435589,0.112335070967674,-0.216629743576050,-0.030353035777807,0.065208837389946,0.075248397886753,0.070307098329067,0.098291113972664) * MODEL11_texOff(vec2(0,1));
res += mat4(-0.137044072151184,0.125385105609894,0.073166467249393,-0.102162227034569,-0.097645327448845,0.041249688714743,0.160793453454971,-0.078501790761948,-0.042608436197042,-0.105964273214340,0.027880182489753,-0.042891625314951,-0.024122470989823,0.042673170566559,-0.158735796809196,0.089095070958138) * MODEL11_texOff(vec2(1,-1));
res += mat4(-0.001963427057490,-0.197500929236412,-0.051325503736734,0.044167771935463,0.139617994427681,0.121428132057190,-0.209962576627731,-0.359607756137848,-0.085206277668476,-0.071029305458069,0.059152923524380,-0.212364390492439,-0.016959989443421,0.021920328959823,-0.014173177070916,-0.075394637882710) * MODEL11_texOff(vec2(1,0));
res += mat4(-0.063211940228939,-0.021900305524468,-0.003284576581791,0.029650928452611,-0.034838948398829,-0.096737042069435,-0.102544404566288,0.052872575819492,-0.026072131469846,0.002011985052377,0.065644420683384,-0.067093916237354,-0.064945064485073,-0.008419149555266,0.007516013924032,-0.089948318898678) * MODEL11_texOff(vec2(1,1));
res += mat4(0.000453127169749,-0.058973483741283,-0.144215852022171,0.019071901217103,0.031340673565865,-0.017749950289726,0.136986747384071,-0.002082227496430,0.005983738694340,0.008009880781174,0.037104476243258,-0.034523740410805,-0.024799771606922,-0.020475158467889,0.178110852837563,0.078275926411152) * MODEL12_texOff(vec2(-1,-1));
res += mat4(0.108939155936241,-0.015615520067513,0.089706644415855,0.140603348612785,0.087400853633881,0.192031294107437,0.166881620883942,-0.129684194922447,-0.062647938728333,-0.123813673853874,0.028946546837687,-0.001510710688308,0.088421911001205,-0.012908957898617,0.252855479717255,-0.060977928340435) * MODEL12_texOff(vec2(-1,0));
res += mat4(0.066787376999855,0.083911351859570,-0.134940028190613,-0.007283412385732,-0.086500555276871,-0.003626608755440,0.068987578153610,0.172789201140404,0.046223010867834,-0.210182711482048,-0.019862052053213,0.106748647987843,0.150402098894119,0.005518054123968,0.122737370431423,0.129495322704315) * MODEL12_texOff(vec2(-1,1));
res += mat4(0.248357191681862,0.064324297010899,0.048151381313801,-0.091136224567890,0.067770585417747,0.041789073497057,0.037431031465530,-0.235006809234619,0.116114348173141,-0.133354976773262,-0.036386597901583,0.073665671050549,-0.077048346400261,-0.066971041262150,-0.077996484935284,-0.038428783416748) * MODEL12_texOff(vec2(0,-1));
res += mat4(-0.298900485038757,-0.089190423488617,0.470252901315689,0.122771486639977,-0.216960653662682,-0.001287548220716,-0.305134057998657,-0.338589161634445,-0.089487753808498,0.059684131294489,-0.021557366475463,0.160290196537971,-0.005472237709910,-0.476111620664597,-0.278444796800613,0.073732890188694) * MODEL12_texOff(vec2(0,0));
res += mat4(-0.105366870760918,-0.062506780028343,-0.002356557641178,0.036387190222740,0.147095158696175,0.151126280426979,0.095310658216476,-0.093933776021004,0.302551418542862,-0.215111240744591,-0.026951320469379,0.266787767410278,0.184310197830200,-0.080887041985989,0.161380380392075,-0.104688160121441) * MODEL12_texOff(vec2(0,1));
res += mat4(0.031198361888528,0.081001155078411,-0.186513572931290,0.023700756952167,0.010286533273757,-0.104866214096546,-0.182602941989899,0.028141004964709,-0.087129384279251,0.012263086624444,0.024878883734345,0.255569368600845,-0.036394208669662,0.058771248906851,-0.055740032345057,-0.165239095687866) * MODEL12_texOff(vec2(1,-1));
res += mat4(0.165547877550125,-0.025054266676307,-0.054048947989941,-0.012789699248970,-0.104338862001896,-0.208053261041641,-0.150632455945015,0.245587497949600,0.123948253691196,-0.068151526153088,0.312458902597427,0.178917616605759,-0.051770236343145,0.290193974971771,-0.098309636116028,-0.142627149820328) * MODEL12_texOff(vec2(1,0));
res += mat4(-0.053607601672411,-0.107206255197525,-0.113267868757248,0.222367495298386,0.030138419941068,-0.022574704140425,0.071157917380333,-0.115915067493916,0.059778336435556,0.061418775469065,-0.073252119123936,-0.122330874204636,-0.008601966314018,0.077097676694393,0.002056835452095,-0.082542493939400) * MODEL12_texOff(vec2(1,1));
res = max(res, vec4(0.0)) + vec4(0.120583534240723,-0.084542654454708,0.248591050505638,0.040569748729467) * min(res, vec4(0.0));
return res;
}

//!HOOK LUMA
//!WHEN OUTPUT.w LUMA.w 2.200 * > OUTPUT.h LUMA.h 2.200 * > *
//!COMPONENTS 4
//!BIND MODEL1
//!BIND MODEL2
//!BIND MODEL3
//!BIND MODEL4
//!BIND MODEL5
//!BIND MODEL6
//!SAVE MODEL7
//!DESC [AiUpscale_HQ_Sharp_3x_LineArt] mapping 8_1

vec4 hook()
{
vec4 res = vec4(0.094284467399120,-0.034083675593138,-0.124975763261318,-0.249053582549095);
res += mat4(0.009892664849758,-0.022562468424439,0.040230412036180,-0.027769619598985,0.013318097218871,0.062352564185858,0.101089298725128,-0.011865120381117,-0.005947520956397,-0.015120400115848,0.024469451978803,0.024909449741244,-0.012208081781864,-0.005026979837567,0.022207595407963,-0.070724166929722) * MODEL1_texOff(vec2(-1,-1));
res += mat4(-0.050014156848192,0.068844854831696,-0.063430622220039,-0.057393133640289,-0.010660395026207,-0.025879731401801,0.145760118961334,-0.013272298499942,-0.021049352362752,-0.035304028540850,0.002105154795572,-0.043781835585833,-0.037509132176638,-0.032581921666861,-0.046509817242622,-0.007821065373719) * MODEL1_texOff(vec2(-1,0));
res += mat4(-0.088140651583672,0.057067669928074,-0.025267582386732,-0.015599221922457,-0.024249086156487,-0.040938813239336,-0.018084239214659,-0.020221685990691,0.019270746037364,0.041961379349232,0.003452151315287,0.019135469570756,0.022740518674254,-0.061987876892090,-0.009819483384490,0.002618472091854) * MODEL1_texOff(vec2(-1,1));
res += mat4(-0.003096996573731,0.016970960423350,-0.023502472788095,0.195111751556396,-0.044842161238194,-0.205923631787300,0.000560690241400,-0.007482199463993,-0.010816943831742,0.072807602584362,-0.048726499080658,0.071005702018738,-0.090595930814743,-0.030656555667520,-0.109792955219746,-0.062917418777943) * MODEL1_texOff(vec2(0,-1));
res += mat4(-0.021407457068563,0.030621305108070,-0.167926967144012,0.064668439328671,-0.055814273655415,0.362363398075104,-0.183016791939735,-0.041339673101902,0.052864000201225,0.010991899296641,0.138580471277237,0.179101586341858,0.039644680917263,0.217139273881912,-0.032853141427040,0.314610064029694) * MODEL1_texOff(vec2(0,0));
res += mat4(-0.095362484455109,-0.068369075655937,-0.422481387853622,-0.231435358524323,-0.074478119611740,-0.161942452192307,0.051392544060946,0.045137118548155,-0.008249362930655,-0.003374040825292,-0.030821945518255,-0.083597175776958,-0.012230576947331,0.022270740941167,0.080024093389511,0.183274373412132) * MODEL1_texOff(vec2(0,1));
res += mat4(-0.015407825820148,-0.012393457815051,0.024849833920598,-0.104136712849140,-0.011787408031523,0.012931163422763,-0.054472710937262,-0.053305875509977,-0.160070732235909,0.008119899779558,-0.024539584293962,0.071495309472084,0.052869684994221,0.092189870774746,-0.005492808297276,0.089594297111034) * MODEL1_texOff(vec2(1,-1));
res += mat4(-0.048243481665850,-0.044475428760052,-0.064003467559814,-0.158632129430771,-0.048434253782034,-0.062460836023092,-0.061448164284229,0.024402137845755,-0.079215615987778,0.008299586363137,-0.127360790967941,0.008321112021804,-0.134412184357643,0.009079140610993,-0.081571169197559,-0.215912267565727) * MODEL1_texOff(vec2(1,0));
res += mat4(0.005866891704500,0.070347726345062,0.106206022202969,0.066487401723862,-0.094522133469582,0.028857324272394,-0.020191440358758,0.046503156423569,0.039935618638992,0.018844129517674,-0.054140839725733,0.092914097011089,-0.071614138782024,-0.004717949777842,-0.160962834954262,-0.137880280613899) * MODEL1_texOff(vec2(1,1));
res += mat4(0.003681198693812,-0.024104567244649,0.093059755861759,0.067612722516060,0.012546226382256,-0.059097893536091,0.072338402271271,-0.097494021058083,0.043705049902201,-0.024986701086164,0.036246702075005,0.023934975266457,-0.070122964680195,-0.011743846349418,0.042919825762510,-0.040609288960695) * MODEL2_texOff(vec2(-1,-1));
res += mat4(0.144451126456261,0.232268735766411,-0.062397602945566,0.093020454049110,0.012040357105434,-0.072225950658321,0.065111793577671,-0.035572659224272,0.027387345209718,-0.088798515498638,-0.014047425240278,-0.019755097106099,-0.050659131258726,-0.061284068971872,0.006238413043320,-0.045376840978861) * MODEL2_texOff(vec2(-1,0));
res += mat4(-0.078714124858379,-0.061082419008017,0.037829093635082,-0.091499797999859,-0.001466182759032,0.043591137975454,0.028946446254849,-0.006249559111893,-0.053964242339134,-0.094944521784782,-0.066409796476364,0.028323441743851,0.005377349909395,-0.022547185420990,-0.050630275160074,0.043004378676414) * MODEL2_texOff(vec2(-1,1));
res += mat4(0.109148137271404,0.119898125529289,0.005548241548240,-0.111316025257111,-0.040099188685417,0.121733009815216,-0.062328133732080,-0.013161564245820,-0.056523412466049,-0.037636421620846,0.009628495201468,0.042253792285919,-0.194351255893707,-0.016570243984461,-0.107589930295944,-0.229275166988373) * MODEL2_texOff(vec2(0,-1));
res += mat4(-0.110870860517025,0.072529174387455,0.070529192686081,0.000534304766916,-0.138838008046150,0.015691136941314,0.036863114684820,-0.117178283631802,0.138066560029984,0.118703156709671,-0.259055137634277,0.334481596946716,-0.083999954164028,-0.093901000916958,-0.238252684473991,-0.519638955593109) * MODEL2_texOff(vec2(0,0));
res += mat4(-0.068409293889999,-0.012830990366638,-0.063050672411919,-0.081397898495197,0.115434497594833,-0.004824131727219,-0.007672948297113,-0.086284197866917,0.051001969724894,-0.035288318991661,0.179532095789909,0.380727976560593,-0.054323531687260,-0.060732327401638,0.052220053970814,-0.022384677082300) * MODEL2_texOff(vec2(0,1));
res += mat4(-0.063878446817398,0.002478238893673,0.071026302874088,-0.043116059154272,0.031500976532698,-0.028982877731323,0.014212346635759,-0.095948882400990,0.027521934360266,-0.014673737809062,-0.066111378371716,0.008286741562188,-0.023665582761168,-0.011794517748058,-0.123435169458389,0.026936266571283) * MODEL2_texOff(vec2(1,-1));
res += mat4(0.039332229644060,0.094730429351330,0.038248732686043,-0.027341192588210,0.035248748958111,-0.270388185977936,-0.154114276170731,-0.225090190768242,-0.092539831995964,-0.286323040723801,-0.007380534894764,-0.065685644745827,-0.020098334178329,-0.020565863698721,0.058867476880550,0.167431995272636) * MODEL2_texOff(vec2(1,0));
res += mat4(0.061687517911196,0.019477412104607,0.055798370391130,-0.008577753789723,0.032414127141237,0.025580385699868,0.021893823519349,-0.166486591100693,-0.045286599546671,-0.089245617389679,0.033872734755278,-0.012007134966552,-0.060196053236723,-0.075098529458046,-0.036006428301334,-0.019916795194149) * MODEL2_texOff(vec2(1,1));
res += mat4(-0.071858659386635,-0.066240780055523,0.026950668543577,0.003557468997315,-0.043504443019629,-0.124671988189220,-0.016009736806154,-0.033970713615417,-0.043972458690405,0.017779713496566,-0.072019167244434,-0.001421460881829,-0.022184303030372,0.045618228614330,0.042235769331455,-0.071505777537823) * MODEL3_texOff(vec2(-1,-1));
res += mat4(-0.017703371122479,0.036307148635387,-0.006900241132826,0.012168068438768,-0.027776269242167,-0.116348713636398,-0.070872925221920,0.032007463276386,-0.067453198134899,-0.044350780546665,-0.058253075927496,0.048707358539104,0.247354954481125,0.044462982565165,0.284650176763535,0.193968176841736) * MODEL3_texOff(vec2(-1,0));
res += mat4(-0.015208319760859,-0.009975504130125,0.102116182446480,0.069632276892662,0.006864413619041,0.058431103825569,-0.003149607218802,-0.015424166806042,-0.049050714820623,-0.071925729513168,0.051901988685131,-0.120581090450287,-0.117954358458519,-0.043487828224897,-0.013902932405472,-0.133306145668030) * MODEL3_texOff(vec2(-1,1));
res += mat4(-0.030488809570670,-0.057572666555643,0.067801713943481,-0.067919656634331,-0.026491221040487,0.029795670881867,-0.090213634073734,0.092265203595161,0.013116856105626,-0.200115308165550,0.129568159580231,-0.241706833243370,-0.139862746000290,0.084313966333866,0.028726100921631,0.062464311718941) * MODEL3_texOff(vec2(0,-1));
res += mat4(-0.060598645359278,-0.057573143392801,0.129551976919174,-0.385023295879364,-0.047154452651739,0.160363420844078,0.087689742445946,0.294161170721054,0.130004450678825,0.060364671051502,0.158245310187340,-0.139218837022781,-0.430872827768326,-0.378151118755341,-0.343151420354843,0.110346481204033) * MODEL3_texOff(vec2(0,0));
res += mat4(-0.097520187497139,-0.030833903700113,-0.154391840100288,-0.035533577203751,0.050799198448658,0.069601111114025,0.046837247908115,0.089015372097492,-0.034747298806906,0.007995840162039,0.133715063333511,0.126671835780144,0.082412742078304,0.123603530228138,0.333686739206314,0.165960386395454) * MODEL3_texOff(vec2(0,1));
res += mat4(-0.025754231959581,0.005518470890820,0.003648388665169,0.290866255760193,-0.002935690339655,0.028382390737534,0.039274021983147,-0.133577823638916,0.034535970538855,0.058636549860239,0.081962198019028,-0.019461080431938,-0.083074234426022,-0.033652208745480,-0.058217782527208,-0.233502045273781) * MODEL3_texOff(vec2(1,-1));
res += mat4(-0.008492263033986,-0.005448088049889,0.054362580180168,0.329886466264725,-0.061969757080078,-0.040494967252016,-0.056251354515553,-0.168823465704918,0.068023599684238,-0.212683632969856,0.167370066046715,-0.359115451574326,-0.051701072603464,0.395718961954117,0.073394775390625,-0.363936185836792) * MODEL3_texOff(vec2(1,0));
res += mat4(-0.031449347734451,-0.028845628723502,0.061596229672432,0.013892708346248,0.038893617689610,0.063437417149544,0.004544327966869,-0.057001043111086,0.060439739376307,0.060396157205105,0.102410420775414,-0.017466258257627,-0.045256160199642,0.120854780077934,0.079582050442696,0.019296228885651) * MODEL3_texOff(vec2(1,1));
res += mat4(-0.002394856186584,-0.121859475970268,-0.000864523812197,0.012297017499804,0.041010476648808,0.023111250251532,-0.033571615815163,0.060658246278763,-0.019247908145189,0.031048195436597,0.072496719658375,-0.069112434983253,-0.001376909320243,-0.005231341347098,0.022830912843347,0.055619437247515) * MODEL4_texOff(vec2(-1,-1));
res += mat4(0.036425344645977,-0.007204487454146,-0.080453082919121,-0.127177700400352,0.074957512319088,0.119789749383926,-0.061943423002958,0.017408913001418,0.158169090747833,0.249610245227814,-0.151112720370293,-0.044890291988850,0.029610576108098,-0.027825841680169,0.045872360467911,0.002291334327310) * MODEL4_texOff(vec2(-1,0));
res += mat4(-0.050634354352951,-0.030413871631026,0.071314580738544,0.030263237655163,0.060994517058134,0.046284597367048,-0.017075171694160,0.100874014198780,0.043114636093378,0.018048828467727,0.090584836900234,0.022842464968562,0.008060895837843,0.007593338843435,0.036109689623117,-0.048675354570150) * MODEL4_texOff(vec2(-1,1));
res += mat4(0.019939593970776,0.011155165731907,-0.189492195844650,0.017720704898238,0.097250007092953,0.037330087274313,-0.026991290971637,0.046115204691887,-0.004614392761141,0.014240786433220,-0.091567151248455,0.043579809367657,-0.116512998938560,0.014498241245747,0.093981087207794,-0.028401661664248) * MODEL4_texOff(vec2(0,-1));
res += mat4(-0.060550678521395,0.107341341674328,0.021202543750405,0.106469154357910,-0.036543488502502,-0.178592294454575,0.103125430643559,-0.087648391723633,-0.092925965785980,-0.008158258162439,0.441259890794754,0.143633320927620,-0.032117508351803,0.031406190246344,-0.073898978531361,-0.063617736101151) * MODEL4_texOff(vec2(0,0));
res += mat4(-0.110697567462921,0.009652597829700,0.012902888469398,0.080904647707939,0.050187040120363,0.030699046328664,-0.107688292860985,0.000516946252901,-0.023651689291000,0.082010559737682,-0.095467813313007,-0.215294092893600,0.007372966501862,-0.067135550081730,0.048443689942360,0.004676974844187) * MODEL4_texOff(vec2(0,1));
res += mat4(0.042731501162052,0.017673956230283,0.055703956633806,-0.049672655761242,-0.006487811449915,0.012502728030086,0.008787931874394,0.029154071584344,0.024904798716307,0.095348142087460,0.041994955390692,-0.033592235296965,-0.148417890071869,-0.001942748785950,0.121133364737034,0.052434239536524) * MODEL4_texOff(vec2(1,-1));
res += mat4(-0.007272788323462,0.029931832104921,-0.058930024504662,-0.047943752259016,0.088618494570255,0.196037560701370,0.129351362586021,0.081225790083408,0.038529433310032,0.080587223172188,0.054735708981752,-0.032659489661455,-0.140445560216904,-0.098182737827301,-0.127059012651443,0.030936935916543) * MODEL4_texOff(vec2(1,0));
res += mat4(0.035505522042513,0.045252058655024,0.034225575625896,0.049993138760328,0.025000367313623,-0.018437778577209,-0.086285069584846,0.073810555040836,-0.020985823124647,-0.017160661518574,-0.017410369589925,-0.075912460684776,-0.025113571435213,-0.002461515367031,0.132716387510300,0.171980217099190) * MODEL4_texOff(vec2(1,1));
res += mat4(0.017375960946083,0.009628131985664,-0.066578052937984,0.001052553649060,-0.037480458617210,-0.013239485211670,-0.073300734162331,0.049645233899355,-0.011904053390026,0.024976477026939,-0.106908187270164,-0.012106302194297,-0.081704005599022,0.108312010765076,-0.032726351171732,0.091637253761292) * MODEL5_texOff(vec2(-1,-1));
res += mat4(0.098410449922085,0.004378485959023,0.019100490957499,0.018005868420005,-0.067461520433426,0.013748017139733,0.051900755614042,0.034719381481409,-0.008943827822804,0.017763465642929,0.009325008839369,0.058554250746965,0.036944501101971,0.182615742087364,0.059133745729923,0.275361120700836) * MODEL5_texOff(vec2(-1,0));
res += mat4(0.048687413334846,-0.034864105284214,-0.032126881182194,0.056424211710691,0.033944349735975,0.042226813733578,0.076422631740570,0.082582689821720,-0.042412459850311,0.028271723538637,-0.022654848173261,0.065237477421761,-0.101716704666615,0.025249598547816,0.018395615741611,-0.005548417568207) * MODEL5_texOff(vec2(-1,1));
res += mat4(0.198084458708763,-0.009203694760799,-0.005140492692590,-0.063909433782101,0.068565987050533,-0.067746654152870,0.094171427190304,0.070521831512451,0.065324120223522,0.017539037391543,0.045014716684818,0.008491514250636,-0.059927802532911,0.105968624353409,0.166322737932205,0.024523034691811) * MODEL5_texOff(vec2(0,-1));
res += mat4(0.353551536798477,-0.074377715587616,-0.041743803769350,-0.099644444882870,-0.136043161153793,0.247001677751541,-0.169799908995628,-0.157631263136864,0.058462981134653,0.104841202497482,-0.292391180992126,-0.235160693526268,0.472319632768631,-0.519775927066803,0.167515397071838,-0.168177708983421) * MODEL5_texOff(vec2(0,0));
res += mat4(-0.129932835698128,0.050847079604864,-0.003326359670609,0.002464581048116,-0.137145355343819,-0.053253803402185,-0.274669319391251,-0.230082839727402,-0.024654595181346,0.040765807032585,-0.000888211827260,-0.127072021365166,-0.185148864984512,0.110756762325764,-0.112453952431679,-0.107080630958080) * MODEL5_texOff(vec2(0,1));
res += mat4(-0.025430057197809,-0.010489366017282,-0.085031650960445,0.045523222535849,-0.005962790921330,-0.016702817752957,-0.016043212264776,-0.005867876112461,0.142982050776482,0.047171752899885,0.088891476392746,0.048730839043856,-0.095233306288719,0.005482007283717,0.016936881467700,-0.061041690409184) * MODEL5_texOff(vec2(1,-1));
res += mat4(0.061410199850798,0.008237251080573,-0.030069878324866,0.113687962293625,-0.012719058431685,0.100945338606834,-0.008765185251832,0.116813644766808,0.000695324270055,-0.113555848598480,0.020503858104348,-0.071852996945381,-0.054534636437893,0.044564630836248,-0.020081343129277,-0.078188069164753) * MODEL5_texOff(vec2(1,0));
res += mat4(-0.001690170029178,-0.013401331380010,0.021222725510597,-0.009141673333943,-0.024717567488551,0.061074525117874,-0.039293162524700,0.047799099236727,0.016048623248935,0.134143248200417,0.017281465232372,-0.029432261362672,0.013531740754843,0.032212320715189,0.017337212339044,0.023090118542314) * MODEL5_texOff(vec2(1,1));
res += mat4(0.107377044856548,-0.052605107426643,-0.045734629034996,0.010790151543915,-0.008465630002320,0.058846008032560,0.004455510526896,0.026397362351418,0.038478706032038,0.002335477154702,0.038076311349869,0.134640693664551,-0.048202097415924,0.006792752537876,-0.094932392239571,-0.245628446340561) * MODEL6_texOff(vec2(-1,-1));
res += mat4(0.079923577606678,-0.024036450311542,-0.092073954641819,-0.107996694743633,-0.015458113513887,0.016161549836397,0.067079432308674,0.098497487604618,0.030903970822692,-0.095622695982456,0.199227347970009,-0.019593151286244,-0.105974800884724,-0.005786854773760,-0.086649186909199,-0.287265449762344) * MODEL6_texOff(vec2(-1,0));
res += mat4(0.022481326013803,0.051891356706619,-0.017439881339669,-0.060600612312555,-0.034707281738520,-0.063334405422211,0.077124334871769,0.037211246788502,0.027313157916069,-0.092926032841206,-0.019375158473849,0.027327230200171,-0.047018717974424,-0.019848514348269,-0.044345103204250,-0.186290264129639) * MODEL6_texOff(vec2(-1,1));
res += mat4(0.019440911710262,0.025253148749471,-0.095112875103951,-0.025585489347577,0.110848419368267,0.008039766922593,0.002042527776212,0.269948571920395,0.015807144343853,-0.040204279124737,0.040939431637526,-0.045338377356529,-0.008123894222081,-0.036518409848213,-0.056378956884146,-0.069701589643955) * MODEL6_texOff(vec2(0,-1));
res += mat4(0.021361801773310,0.039405807852745,0.204080224037170,0.015751795843244,0.083411969244480,0.096723273396492,0.240751042962074,0.310426414012909,0.127731412649155,-0.050128016620874,-0.023462839424610,0.103188216686249,-0.113802596926689,-0.039490554481745,-0.010226362384856,-0.213227227330208) * MODEL6_texOff(vec2(0,0));
res += mat4(0.155545368790627,0.029269978404045,0.066155694425106,-0.016965070739388,0.000978323747404,-0.027724100276828,-0.029614252969623,0.149105325341225,0.093652315437794,-0.029994903132319,0.100667059421539,0.052709739655256,-0.056204032152891,0.025673644617200,-0.008060548454523,-0.230506390333176) * MODEL6_texOff(vec2(0,1));
res += mat4(0.041009943932295,-0.040333859622478,0.031930353492498,0.009725825861096,0.034228034317493,0.011319941841066,0.030607931315899,-0.120569258928299,0.027576226741076,0.036938760429621,0.031109645962715,0.077305480837822,0.045642085373402,0.032721977680922,-0.013497591949999,0.053604919463396) * MODEL6_texOff(vec2(1,-1));
res += mat4(0.072240956127644,0.083337493240833,0.015251010656357,-0.019052548334002,-0.006293265148997,-0.080536112189293,-0.122929394245148,-0.055156886577606,0.010113207623363,-0.028615584596992,-0.048018496483564,0.000730451778509,0.016996044665575,-0.016481662169099,0.036101896315813,0.005524610169232) * MODEL6_texOff(vec2(1,0));
res += mat4(0.072770617902279,0.054560385644436,-0.089968070387840,-0.048559814691544,0.005653485655785,0.027037080377340,-0.011720582842827,-0.073971100151539,-0.023550266399980,-0.037832252681255,0.039976537227631,-0.042646817862988,-0.011190821416676,0.007775845471770,-0.035489186644554,0.071353711187840) * MODEL6_texOff(vec2(1,1));
res = max(res, vec4(0.0)) + vec4(0.623445034027100,0.894413590431213,0.003459622850642,-0.028629029169679) * min(res, vec4(0.0));
return res;
}

//!HOOK LUMA
//!WHEN OUTPUT.w LUMA.w 2.200 * > OUTPUT.h LUMA.h 2.200 * > *
//!COMPONENTS 4
//!BIND MODEL1
//!BIND MODEL2
//!BIND MODEL3
//!BIND MODEL4
//!BIND MODEL5
//!BIND MODEL6
//!SAVE MODEL8
//!DESC [AiUpscale_HQ_Sharp_3x_LineArt] mapping 8_2

vec4 hook()
{
vec4 res = vec4(-0.242545738816261,-0.144914209842682,-0.138207823038101,-0.274976789951324);
res += mat4(0.003692058613524,0.053661853075027,0.047689527273178,0.020026560872793,0.039692334830761,0.058105479925871,-0.027345117181540,-0.103350847959518,0.073479562997818,-0.042242564260960,-0.022678401321173,0.031892001628876,-0.021892124786973,-0.043360427021980,-0.027665186673403,-0.041961260139942) * MODEL1_texOff(vec2(-1,-1));
res += mat4(-0.056721325963736,-0.003272256581113,0.016376854851842,0.040709577500820,-0.070497550070286,-0.100191429257393,0.053224120289087,-0.071905396878719,0.087481774389744,0.104346372187138,-0.069209150969982,0.087669484317303,-0.108546622097492,-0.068413279950619,-0.080294400453568,-0.019151827320457) * MODEL1_texOff(vec2(-1,0));
res += mat4(-0.005726167466491,-0.180353164672852,0.015142789110541,-0.101481318473816,0.071394510567188,0.098662354052067,0.037713170051575,-0.005096225533634,0.043909121304750,-0.006015472579747,0.043739479035139,0.011647876352072,0.056574620306492,0.028461067005992,-0.001138516236097,0.028992542997003) * MODEL1_texOff(vec2(-1,1));
res += mat4(-0.051669765263796,-0.064743466675282,-0.004145510960370,-0.081270329654217,0.187820404767990,-0.128026649355888,0.128523930907249,-0.290748268365860,0.173498615622520,0.087500460445881,-0.043481588363647,-0.018664212897420,-0.043963842093945,0.014454462565482,-0.048011470586061,-0.032923705875874) * MODEL1_texOff(vec2(0,-1));
res += mat4(-0.212412521243095,0.052289322018623,0.047806609421968,0.071263700723648,-0.069148704409599,0.068226948380470,-0.075299590826035,-0.306305527687073,-0.234754070639610,-0.199388831853867,-0.008026186376810,-0.026504183188081,0.067746497690678,0.093414179980755,-0.051802434027195,0.073565378785133) * MODEL1_texOff(vec2(0,0));
res += mat4(-0.015689296647906,-0.135390490293503,-0.346617639064789,-0.405302613973618,-0.021639822050929,-0.108209788799286,0.064370557665825,-0.078765697777271,-0.026623396202922,0.013730851002038,-0.070782423019409,0.020124137401581,-0.083070434629917,-0.171728014945984,0.006477669347078,-0.042799059301615) * MODEL1_texOff(vec2(0,1));
res += mat4(0.003698565997183,0.014496085233986,0.014446724206209,-0.061183333396912,0.090066492557526,-0.020195676013827,-0.008823083713651,-0.108279816806316,0.035369507968426,-0.045970965176821,0.094914093613625,-0.116292223334312,0.028845215216279,0.069798283278942,-0.026933517307043,0.073008105158806) * MODEL1_texOff(vec2(1,-1));
res += mat4(0.098324961960316,-0.057790491729975,-0.022893771529198,0.091457754373550,-0.089168772101402,0.121322892606258,-0.044419370591640,-0.167796388268471,-0.216023892164230,0.181603342294693,0.039868906140327,0.102315545082092,0.085584051907063,-0.265768140554428,0.154927879571915,-0.006546780001372) * MODEL1_texOff(vec2(1,0));
res += mat4(-0.040681011974812,-0.032990507781506,0.082885973155499,-0.131992593407631,-0.014904228039086,-0.054005470126867,0.031642116606236,-0.017622649669647,-0.017502831295133,-0.064355112612247,-0.035325907170773,-0.037870880216360,-0.052855901420116,0.173101186752319,-0.123429395258427,0.043160408735275) * MODEL1_texOff(vec2(1,1));
res += mat4(0.025520477443933,0.065017879009247,0.099871292710304,0.081121064722538,0.106382168829441,0.057772353291512,0.026861112564802,0.018072916194797,0.019237317144871,-0.007522937376052,-0.055403940379620,-0.038382448256016,-0.134389698505402,0.006360815837979,-0.016711872071028,-0.054021004587412) * MODEL2_texOff(vec2(-1,-1));
res += mat4(0.094631157815456,0.011563981883228,0.020831022411585,0.089093305170536,-0.039489455521107,0.095267146825790,-0.012253592722118,-0.055856440216303,-0.079156726598740,-0.114021018147469,-0.016920333728194,-0.008888455107808,-0.034756503999233,0.094344653189182,0.055136859416962,0.048117291182280) * MODEL2_texOff(vec2(-1,0));
res += mat4(0.010524543002248,0.039767846465111,-0.181870535016060,-0.045025523751974,-0.038595307618380,-0.013885315507650,0.098938487470150,-0.033074278384447,0.093816697597504,0.079237058758736,0.048032525926828,0.082431733608246,-0.002997214207426,-0.005747475195676,0.025495521724224,0.016428094357252) * MODEL2_texOff(vec2(-1,1));
res += mat4(0.127339154481888,0.012202969752252,-0.063781470060349,-0.017601463943720,-0.231504887342453,0.116038352251053,0.037690486758947,-0.189277723431587,-0.091731555759907,-0.081140190362930,0.030402781441808,-0.052478596568108,-0.457005262374878,-0.063215605914593,0.057042583823204,-0.135526478290558) * MODEL2_texOff(vec2(0,-1));
res += mat4(0.305412054061890,-0.089382641017437,0.665869295597076,-0.051880355924368,-0.289520025253296,0.070887252688408,0.553531229496002,-0.186804622411728,0.267623454332352,0.246122524142265,-0.146118476986885,0.363183468580246,-0.106161944568157,-0.231798559427261,-0.224878400564194,-0.113436326384544) * MODEL2_texOff(vec2(0,0));
res += mat4(-0.082807503640652,0.163980796933174,0.043267089873552,-0.120703525841236,-0.001981125678867,0.099008940160275,0.028402755036950,0.004184536170214,0.085846967995167,-0.147318258881569,-0.014517837204039,0.019951695576310,0.059050090610981,-0.039491280913353,0.058767933398485,0.059756658971310) * MODEL2_texOff(vec2(0,1));
res += mat4(-0.101584441959858,-0.037773635238409,0.085163593292236,-0.080846257507801,-0.088976487517357,0.148029401898384,-0.091090083122253,0.086817361414433,-0.018840231001377,-0.048074290156364,0.031515672802925,-0.064126104116440,-0.009737922810018,-0.033634822815657,-0.027448449283838,0.013806695118546) * MODEL2_texOff(vec2(1,-1));
res += mat4(-0.067782685160637,0.046954039484262,-0.115577250719070,-0.069452017545700,-0.013647134415805,0.166526913642883,-0.019018074497581,0.026332989335060,0.110443212091923,-0.026407629251480,0.147784799337387,0.041459772735834,-0.021139727905393,0.082290783524513,0.064830385148525,0.088146902620792) * MODEL2_texOff(vec2(1,0));
res += mat4(0.055926702916622,0.097148306667805,0.024061452597380,0.109203174710274,-0.018783286213875,0.058773688971996,0.109320729970932,-0.067102491855621,-0.017483213916421,0.040845531970263,-0.020283531397581,-0.068887241184711,-0.061464849859476,-0.060973621904850,0.005352329462767,-0.061465639621019) * MODEL2_texOff(vec2(1,1));
res += mat4(0.002986185718328,0.003310926724225,-0.068887002766132,0.035408180207014,-0.035164766013622,-0.093555301427841,0.063707448542118,0.011383213102818,-0.082986898720264,0.024492435157299,0.054428894072771,-0.030838476493955,0.112133026123047,0.015652667731047,-0.092516981065273,0.039756912738085) * MODEL3_texOff(vec2(-1,-1));
res += mat4(0.016080573201180,0.117391638457775,0.046517793089151,0.015282713808119,-0.091042309999466,0.153366073966026,-0.033400464802980,0.053396414965391,-0.036473687738180,-0.006749538704753,0.066880434751511,-0.048179108649492,0.187483027577400,-0.038224853575230,-0.077171221375465,-0.016364786773920) * MODEL3_texOff(vec2(-1,0));
res += mat4(0.043988004326820,0.035985495895147,-0.067800000309944,-0.048362821340561,-0.000763491028920,-0.078625641763210,0.001340288552456,-0.074334152042866,-0.044861547648907,0.095000080764294,-0.019905988126993,-0.048638347536325,0.052375685423613,0.155300602316856,0.122960940003395,0.050771433860064) * MODEL3_texOff(vec2(-1,1));
res += mat4(-0.121157534420490,-0.112102180719376,0.084087580442429,0.075243517756462,0.104570828378201,-0.036796685308218,-0.048072051256895,0.044243138283491,0.023200469091535,-0.043469611555338,0.122823864221573,0.056498806923628,-0.051205832511187,-0.002944746753201,0.113829411566257,0.054494839161634) * MODEL3_texOff(vec2(0,-1));
res += mat4(-0.071793764829636,-0.085646927356720,-0.243754193186760,-0.133381113409996,-0.204601287841797,0.085304014384747,0.015512869693339,-0.237627014517784,-0.074561111629009,-0.030007334426045,-0.260223031044006,-0.073328308761120,-0.084638252854347,0.003625570097938,0.146783426403999,0.108409970998764) * MODEL3_texOff(vec2(0,0));
res += mat4(-0.014540923759341,0.059680428355932,-0.018268888816237,-0.099213503301144,-0.068138010799885,0.065410621464252,0.044863659888506,-0.084038250148296,-0.032571241259575,0.019994419068098,0.084281846880913,-0.056720018386841,-0.084828749299049,0.182933971285820,-0.013717767782509,0.008415077812970) * MODEL3_texOff(vec2(0,1));
res += mat4(-0.055613633245230,0.106463238596916,0.021338710561395,0.093614898622036,-0.069398894906044,0.097430311143398,0.002059611026198,-0.001710874261335,-0.050611414015293,0.132735863327980,-0.058541499078274,0.114736862480640,0.002368700690567,0.140161350369453,0.096573315560818,0.078540101647377) * MODEL3_texOff(vec2(1,-1));
res += mat4(-0.056562032550573,-0.080520465970039,0.043458014726639,-0.149485155940056,-0.046304121613503,-0.154485806822777,0.016035201027989,-0.039094779640436,-0.059103086590767,-0.188324227929115,0.019836243242025,-0.080962941050529,0.014015262015164,-0.107225053012371,0.169363588094711,0.114718168973923) * MODEL3_texOff(vec2(1,0));
res += mat4(-0.025597834959626,-0.012727001681924,-0.001886800630018,-0.060577843338251,-0.018117260187864,0.029670158401132,-0.011664821766317,0.000027638616302,0.057972274720669,0.078715480864048,0.058182343840599,0.051823060959578,-0.095253340899944,0.155899882316589,0.037342075258493,-0.163156166672707) * MODEL3_texOff(vec2(1,1));
res += mat4(0.178428918123245,-0.000426199199865,-0.017359457910061,0.035136409103870,0.069081269204617,-0.000727323000319,-0.041980810463428,0.003415843937546,-0.076307475566864,-0.003274034243077,-0.008042302913964,0.053279411047697,-0.076786972582340,-0.007463431451470,0.060640551149845,-0.033483449369669) * MODEL4_texOff(vec2(-1,-1));
res += mat4(0.060520861297846,0.141603410243988,-0.098829641938210,0.054997891187668,0.035522811114788,0.003977623768151,0.061295740306377,0.059638734906912,-0.113772548735142,-0.001436261809431,0.076988093554974,-0.025791317224503,-0.038810841739178,0.013312886469066,-0.044371854513884,-0.032171238213778) * MODEL4_texOff(vec2(-1,0));
res += mat4(-0.055220145732164,-0.082295000553131,-0.025397976860404,-0.070680767297745,0.026468008756638,-0.068584688007832,0.020903483033180,0.011350698769093,0.023868385702372,-0.054336916655302,-0.002796414773911,0.038900043815374,0.009110816754401,0.044077221304178,0.035658072680235,0.000032254825783) * MODEL4_texOff(vec2(-1,1));
res += mat4(0.102183848619461,-0.206553742289543,-0.146541491150856,-0.244726330041885,0.146768316626549,0.032024037092924,0.022633109241724,0.037498030811548,-0.089846782386303,0.074599631130695,-0.036096379160881,0.090724192559719,-0.391198605298996,0.011745308525860,-0.091079056262970,-0.212093383073807) * MODEL4_texOff(vec2(0,-1));
res += mat4(0.015054947696626,-0.242603152990341,0.197316154837608,-0.360985845327377,-0.191732451319695,-0.289572119712830,-0.102028027176857,-0.168840855360031,-0.167186558246613,-0.132721319794655,-0.000857564213220,-0.015235885977745,-0.159375235438347,-0.119183450937271,0.138730317354202,-0.213663533329964) * MODEL4_texOff(vec2(0,0));
res += mat4(-0.166503757238388,0.122855246067047,0.047579109668732,-0.099185995757580,0.044987507164478,0.112698264420033,-0.027765365317464,0.067866645753384,0.117659941315651,0.030616797506809,-0.061549350619316,0.067356958985329,0.108071774244308,0.044224236160517,-0.043069697916508,0.032857205718756) * MODEL4_texOff(vec2(0,1));
res += mat4(0.046269614249468,0.117181852459908,-0.015352307818830,-0.066487371921539,-0.009611505083740,-0.068717166781425,0.054645515978336,-0.055378910154104,0.027779338881373,-0.027711598202586,-0.015093081630766,0.023196959868073,-0.205805480480194,0.040709424763918,0.119576744735241,-0.202122509479523) * MODEL4_texOff(vec2(1,-1));
res += mat4(0.016739079728723,-0.137351766228676,-0.036956578493118,0.038357701152563,-0.057722888886929,0.020363140851259,-0.204803317785263,-0.090259201824665,-0.111915521323681,0.066324330866337,0.012231374159455,0.025676762685180,-0.088461160659790,-0.197092399001122,-0.160307675600052,-0.038395740091801) * MODEL4_texOff(vec2(1,0));
res += mat4(-0.003529291134328,0.019834378734231,-0.063967548310757,0.115259476006031,0.030778164044023,-0.040587890893221,0.035186234861612,0.036348115652800,0.030733203515410,-0.083852961659431,0.021136827766895,0.044375833123922,0.026713520288467,-0.012657628394663,0.025402581319213,-0.006538171786815) * MODEL4_texOff(vec2(1,1));
res += mat4(0.036932211369276,-0.039620283991098,0.057679895311594,0.061563830822706,0.047973990440369,0.014690223149955,-0.084929205477238,0.010586452670395,0.117363832890987,-0.002483357209712,-0.008702592924237,0.026441194117069,-0.064852736890316,0.098592430353165,-0.006415968295187,-0.012611994519830) * MODEL5_texOff(vec2(-1,-1));
res += mat4(-0.025289330631495,-0.058831393718719,0.006855655461550,0.067653246223927,0.236296981573105,0.059245701879263,-0.038847368210554,0.030766291543841,0.100138500332832,0.000329880596837,-0.016662808135152,0.043868310749531,0.089251652359962,0.001582608208992,0.255321443080902,0.053201027214527) * MODEL5_texOff(vec2(-1,0));
res += mat4(0.081068806350231,0.040189180523157,0.043536774814129,0.051212370395660,-0.115320645272732,-0.051738899201155,-0.038738060742617,-0.014220639131963,-0.049105700105429,-0.103684641420841,-0.008278130553663,-0.014363379217684,0.053364384919405,0.013124631717801,-0.015118617564440,-0.003614754648879) * MODEL5_texOff(vec2(-1,1));
res += mat4(0.150844395160675,0.067865200340748,-0.104343891143799,0.159098073840141,0.011478306725621,0.005915649700910,-0.025021040812135,0.028384832665324,0.142583116889000,0.037033785134554,-0.040757559239864,0.218150720000267,-0.074682220816612,-0.083889588713646,0.064702801406384,-0.031127540394664) * MODEL5_texOff(vec2(0,-1));
res += mat4(0.256765455007553,0.229283139109612,-0.015648908913136,0.540102124214172,0.349445551633835,-0.335040986537933,0.016936363652349,-0.036338683217764,-0.299356579780579,0.011983164586127,-0.065211601555347,-0.083798520267010,0.249117538332939,0.080789580941200,-0.325403660535812,0.184258639812469) * MODEL5_texOff(vec2(0,0));
res += mat4(0.141210198402405,-0.200626865029335,0.034759614616632,0.088930442929268,-0.085143290460110,-0.054511673748493,-0.009000505320728,-0.148013994097710,0.027824563905597,0.108833946287632,-0.105763360857964,0.066171668469906,0.033844079822302,0.042492832988501,0.121517948806286,0.047075670212507) * MODEL5_texOff(vec2(0,1));
res += mat4(0.019771765917540,-0.107238389551640,0.021536158397794,-0.001761566731147,0.027413625270128,-0.001593626104295,0.006372741423547,-0.028719138354063,0.203132569789886,0.011080613359809,-0.054384261369705,0.167547821998596,-0.114025093615055,0.017717156559229,0.027548821642995,0.006315431557596) * MODEL5_texOff(vec2(1,-1));
res += mat4(0.104330301284790,0.019393732771277,0.039964538067579,0.126967012882233,0.103008970618248,0.094462558627129,-0.042478919029236,-0.020495684817433,-0.113523080945015,-0.473921984434128,0.043867174535990,-0.262545198202133,0.030879162251949,-0.021883388981223,-0.056267019361258,-0.007857083342969) * MODEL5_texOff(vec2(1,0));
res += mat4(-0.060303747653961,-0.003778021549806,0.038025371730328,-0.086475804448128,-0.078042350709438,0.019669285044074,-0.110996358096600,0.010456362739205,0.015169217251241,-0.100203201174736,-0.038494542241096,0.072805501520634,0.027740554884076,0.008715252391994,-0.015941573306918,0.032648432999849) * MODEL5_texOff(vec2(1,1));
res += mat4(0.096747823059559,0.016024585813284,0.031045909970999,0.023973712697625,-0.038140863180161,0.027712615206838,-0.071937441825867,0.040635585784912,-0.011816508136690,0.088052392005920,0.026117401197553,-0.004377610515803,-0.001007463899441,-0.149836629629135,-0.040230888873339,0.084859900176525) * MODEL6_texOff(vec2(-1,-1));
res += mat4(-0.027327883988619,-0.019936230033636,-0.097649216651917,0.067513182759285,-0.125774770975113,-0.058956220746040,-0.051830556243658,-0.116184011101723,-0.200478851795197,-0.114914670586586,0.117094129323959,-0.170573234558105,0.023176815360785,0.091496318578720,-0.018366044387221,-0.055790025740862) * MODEL6_texOff(vec2(-1,0));
res += mat4(-0.058998882770538,-0.062269281595945,-0.016386942937970,-0.034150402992964,0.025828804820776,-0.049317333847284,-0.021349200978875,-0.049631938338280,0.189226821064949,0.192973718047142,0.103228479623795,0.194632068276405,0.007689603604376,-0.017781227827072,0.066029049456120,-0.025747038424015) * MODEL6_texOff(vec2(-1,1));
res += mat4(-0.043203409761190,-0.059161663055420,0.007949961349368,0.013762347400188,-0.109223902225494,-0.010630527511239,-0.085673831403255,-0.016851268708706,0.167055010795593,0.029419887810946,0.049139235168695,0.135975375771523,0.024464037269354,0.025706766173244,0.015236107632518,0.148636326193810) * MODEL6_texOff(vec2(0,-1));
res += mat4(-0.136119633913040,0.228601604700089,0.158485904335976,0.314715802669525,0.027133638039231,0.205162018537521,0.019466303288937,-0.117577977478504,-0.707099795341492,0.054373562335968,-0.397997647523880,-0.099664367735386,0.134092226624489,-0.271558552980423,-0.058381870388985,-0.118379957973957) * MODEL6_texOff(vec2(0,0));
res += mat4(-0.034848991781473,0.027915772050619,-0.060407955199480,0.042770393192768,-0.104822807013988,-0.045127898454666,-0.005567653570324,-0.057882945984602,0.107848241925240,-0.316573321819305,0.071631774306297,0.083195403218269,-0.067379422485828,0.105063274502754,-0.038804147392511,0.018882609903812) * MODEL6_texOff(vec2(0,1));
res += mat4(-0.000637523189653,0.083914689719677,-0.041321873664856,0.099523589015007,0.012830519117415,-0.061940178275108,0.002932534087449,0.029556082561612,-0.065154485404491,-0.023160625249147,0.036924101412296,-0.014738722704351,0.003296495648101,0.028450191020966,-0.046622086316347,0.087740577757359) * MODEL6_texOff(vec2(1,-1));
res += mat4(0.013878533616662,-0.211568549275398,-0.062579467892647,0.154426634311676,-0.031226966530085,-0.041980452835560,-0.122284434735775,-0.050702303647995,-0.106282465159893,0.057825330644846,0.022451372817159,-0.005643405020237,0.050630625337362,0.019259808585048,0.050323590636253,-0.028271622955799) * MODEL6_texOff(vec2(1,0));
res += mat4(0.029643017798662,0.006480471231043,-0.015548075549304,0.057260382920504,0.000196834997041,0.034509889781475,-0.014224536716938,-0.000043202657253,0.067215777933598,-0.024516306817532,0.019822224974632,0.089180365204811,0.044435288757086,-0.006748489104211,-0.030860159546137,0.067124202847481) * MODEL6_texOff(vec2(1,1));
res = max(res, vec4(0.0)) + vec4(-0.026467280462384,0.010479498654604,0.088520891964436,-0.010073316283524) * min(res, vec4(0.0));
return res;
}

//!HOOK LUMA
//!WHEN OUTPUT.w LUMA.w 2.200 * > OUTPUT.h LUMA.h 2.200 * > *
//!COMPONENTS 4
//!BIND MODEL1
//!BIND MODEL2
//!BIND MODEL3
//!BIND MODEL4
//!BIND MODEL5
//!BIND MODEL6
//!SAVE MODEL9
//!DESC [AiUpscale_HQ_Sharp_3x_LineArt] mapping 8_3

vec4 hook()
{
vec4 res = vec4(-0.209867343306541,-0.392544358968735,-0.386391013860703,-0.239615648984909);
res += mat4(-0.041749540716410,-0.011684221215546,0.026869809255004,0.123265460133553,0.045981269329786,-0.217166081070900,-0.006966575514525,0.186585009098053,-0.027144076302648,0.041938334703445,0.056157249957323,-0.119354300200939,0.002671215450391,-0.016698416322470,0.031992029398680,-0.027468230575323) * MODEL1_texOff(vec2(-1,-1));
res += mat4(0.012447592802346,-0.006841745227575,-0.186384066939354,0.021629998460412,0.006175929680467,0.077783249318600,0.003865542588755,0.121871866285801,-0.061416741460562,0.091197505593300,0.018495265394449,0.110571689903736,0.050056643784046,-0.024186262860894,0.050324425101280,-0.114832706749439) * MODEL1_texOff(vec2(-1,0));
res += mat4(0.054907038807869,-0.177989155054092,-0.189976409077644,-0.223908156156540,0.034691501408815,0.013041130267084,0.084253996610641,0.192052796483040,-0.013464664109051,0.032211784273386,-0.026911083608866,0.015957042574883,-0.056838743388653,0.022838559001684,0.041654191911221,0.008667703717947) * MODEL1_texOff(vec2(-1,1));
res += mat4(0.041822403669357,-0.116383694112301,0.069130338728428,-0.118530377745628,-0.097515277564526,-0.291284680366516,0.007888220250607,-0.042245600372553,0.179514348506927,-0.137817412614822,-0.010357854887843,0.152291193604469,0.062310472130775,0.046803724020720,-0.046361651271582,-0.065898731350899) * MODEL1_texOff(vec2(0,-1));
res += mat4(-0.100920408964157,-0.002586083253846,-0.104395695030689,0.037566717714071,0.192358419299126,0.008683986961842,-0.470539569854736,-0.124935723841190,0.140249326825142,0.232804641127586,0.013057043775916,-0.033396370708942,-0.243717521429062,0.023088689893484,-0.049110580235720,0.334979504346848) * MODEL1_texOff(vec2(0,0));
res += mat4(-0.095093786716461,-0.497288048267365,-0.137885347008705,-0.122225336730480,0.050682857632637,0.010875859297812,0.011593069881201,-0.073112986981869,0.011668259277940,-0.026523597538471,-0.043045677244663,-0.049388065934181,-0.065516561269760,0.022296387702227,-0.035894807428122,-0.123857669532299) * MODEL1_texOff(vec2(0,1));
res += mat4(0.104273624718189,-0.015695858746767,0.026539750397205,0.003544786479324,-0.003091445425525,-0.092188410460949,-0.010886198841035,0.117351211607456,0.086215496063232,-0.083388209342957,0.056159518659115,-0.045082021504641,0.017976535484195,0.095252096652985,0.026497067883611,0.119726404547691) * MODEL1_texOff(vec2(1,-1));
res += mat4(0.076529614627361,-0.005049289669842,-0.104703612625599,0.000375814852305,-0.056224118918180,0.071779847145081,0.029946459457278,0.056869514286518,0.078889966011047,0.349803268909454,-0.012578839436173,0.181721180677414,0.296177208423615,-0.113222725689411,-0.300268858671188,-0.076884776353836) * MODEL1_texOff(vec2(1,0));
res += mat4(-0.079459637403488,-0.113026753067970,0.085853561758995,-0.062454342842102,0.096285991370678,-0.013853576965630,0.021557932719588,0.043616224080324,-0.012643297202885,-0.116929359734058,-0.008922222070396,0.012538002803922,0.201488614082336,0.182499319314957,-0.054982248693705,-0.083335392177105) * MODEL1_texOff(vec2(1,1));
res += mat4(-0.032766010612249,0.032244749367237,-0.059188988059759,0.209847316145897,-0.084521621465683,-0.032436162233353,-0.019247269257903,-0.010564535856247,-0.031914092600346,-0.082044743001461,-0.000266623421339,-0.019138630479574,-0.093340277671814,-0.074734717607498,0.127731502056122,-0.057805877178907) * MODEL2_texOff(vec2(-1,-1));
res += mat4(0.075889579951763,0.058206364512444,-0.173602193593979,-0.008064378052950,-0.012431857176125,-0.086363121867180,0.011841159313917,0.163421988487244,-0.012983185239136,0.076080530881882,0.047257140278816,-0.106297984719276,-0.048158146440983,0.099452666938305,0.185438185930252,-0.004796810913831) * MODEL2_texOff(vec2(-1,0));
res += mat4(0.072950974106789,-0.121888063848019,-0.040921203792095,-0.226063624024391,-0.010756932199001,-0.004184948746115,-0.035082213580608,0.034096151590347,-0.008021637797356,0.088031679391861,0.083066575229168,0.062445487827063,0.011028150096536,-0.016073534265161,0.038292810320854,0.093749791383743) * MODEL2_texOff(vec2(-1,1));
res += mat4(0.143700689077377,-0.124053500592709,-0.238994374871254,0.040571756660938,0.068462707102299,-0.157628566026688,-0.105301626026630,0.184793606400490,0.034545734524727,-0.043832600116730,-0.012845660559833,-0.053467918187380,-0.001251330715604,0.035583116114140,-0.246323138475418,-0.147186934947968) * MODEL2_texOff(vec2(0,-1));
res += mat4(0.139748603105545,0.058923590928316,0.017679456621408,-0.142398506402969,0.084331132471561,-0.035588916391134,0.011598265729845,0.194649010896683,0.061112131923437,0.216416999697685,0.127905905246735,0.121720142662525,-0.120005801320076,-0.092426113784313,-0.367510497570038,-0.290306121110916) * MODEL2_texOff(vec2(0,0));
res += mat4(0.145762935280800,0.085818476974964,-0.016243146732450,0.078353971242905,-0.062418278306723,-0.016950478777289,0.017112372443080,0.156515836715698,0.067927844822407,-0.048987518996000,0.092309698462486,-0.019637303426862,0.023624684661627,-0.028224548324943,-0.021374296396971,0.051516775041819) * MODEL2_texOff(vec2(0,1));
res += mat4(0.033698391169310,-0.033686365932226,-0.082936950027943,0.046319808810949,-0.067633926868439,0.138561159372330,-0.004967455752194,0.193372428417206,0.015495390631258,-0.041340071707964,0.045954510569572,-0.012503682635725,-0.007801659870893,0.040663883090019,0.100704789161682,-0.034747343510389) * MODEL2_texOff(vec2(1,-1));
res += mat4(-0.099305123090744,-0.056236635893583,0.047388106584549,-0.178893327713013,0.006838053464890,-0.070749066770077,0.032158650457859,-0.096225388348103,0.170167654752731,-0.070659846067429,-0.213588252663612,0.035062357783318,-0.580887436866760,0.075678184628487,0.125319778919220,0.227083936333656) * MODEL2_texOff(vec2(1,0));
res += mat4(-0.061952471733093,0.044306062161922,-0.042921978980303,0.039680678397417,-0.011635698378086,-0.138836517930031,0.034813374280930,0.191930860280991,0.156169399619102,0.052852835506201,-0.060615297406912,-0.053005840629339,0.022416794672608,-0.077681072056293,0.020699381828308,0.053727507591248) * MODEL2_texOff(vec2(1,1));
res += mat4(0.086172446608543,-0.034740004688501,-0.020277092233300,0.047542612999678,-0.006996130105108,0.062728285789490,0.205973893404007,-0.063300549983978,0.062270749360323,-0.024319561198354,-0.069777034223080,0.142741411924362,-0.095801927149296,0.075151182711124,-0.052472490817308,-0.076700299978256) * MODEL3_texOff(vec2(-1,-1));
res += mat4(0.034613013267517,-0.055029433220625,-0.031250808387995,0.018689347431064,-0.121269121766090,-0.086001619696617,0.183728143572807,0.101675234735012,0.030249686911702,-0.155432268977165,-0.051615793257952,-0.024927897378802,-0.378164112567902,-0.161689415574074,0.188563719391823,0.168973699212074) * MODEL3_texOff(vec2(-1,0));
res += mat4(0.025358222424984,-0.105186112225056,0.018807245418429,0.034275528043509,-0.190616250038147,-0.089986436069012,-0.015353669412434,0.142419442534447,-0.013309346511960,-0.143026530742645,-0.052497562021017,-0.035987026989460,-0.098159030079842,0.218444705009460,0.004332957323641,0.127762034535408) * MODEL3_texOff(vec2(-1,1));
res += mat4(-0.095834016799927,0.057947840541601,0.030757971107960,-0.171611517667770,-0.081228695809841,-0.016967717558146,0.177319690585136,-0.141705647110939,-0.139343485236168,0.210810452699661,-0.125300288200378,-0.153635904192924,-0.000167505655554,0.034096855670214,0.025715952739120,-0.031801711767912) * MODEL3_texOff(vec2(0,-1));
res += mat4(-0.109552308917046,-0.205472961068153,-0.114962063729763,-0.300372838973999,-0.374185800552368,-0.117827743291855,0.229043126106262,0.353890955448151,-0.065297871828079,-0.112159416079521,-0.119024552404881,-0.066337481141090,0.042565949261189,-0.073716729879379,-0.113271243870258,0.104994222521782) * MODEL3_texOff(vec2(0,0));
res += mat4(0.058131814002991,-0.193619206547737,-0.081105865538120,-0.041026350110769,-0.065468564629555,-0.040755361318588,0.017042854800820,-0.069139637053013,0.032229185104370,-0.127218782901764,0.037919312715530,0.007780849933624,0.038550749421120,0.135375320911407,0.136767834424973,-0.098936311900616) * MODEL3_texOff(vec2(0,1));
res += mat4(0.037946075201035,0.132382914423943,0.042439013719559,0.093132749199867,0.051952060312033,0.030219277366996,-0.046405319124460,0.062511809170246,-0.040536005049944,0.145166292786598,-0.034445963799953,0.078135870397091,0.160402104258537,0.084233447909355,-0.152856379747391,0.112985596060753) * MODEL3_texOff(vec2(1,-1));
res += mat4(-0.152743592858315,-0.168746903538704,0.140540733933449,0.181836321949959,0.113676972687244,-0.085970602929592,-0.104181498289108,-0.090183407068253,0.016010060906410,-0.136300638318062,-0.245379969477654,-0.067415535449982,0.287010818719864,-0.047860156744719,-0.290202856063843,-0.121718421578407) * MODEL3_texOff(vec2(1,0));
res += mat4(-0.117528475821018,-0.040667071938515,-0.003258428303525,0.057894907891750,0.057224046438932,-0.003783631836995,-0.010480239987373,-0.073123306035995,-0.064420737326145,-0.057542543858290,-0.046433117240667,-0.083758570253849,0.177479222416878,-0.017745569348335,0.062289807945490,-0.176455914974213) * MODEL3_texOff(vec2(1,1));
res += mat4(-0.046392399817705,-0.098742879927158,0.080397635698318,-0.061074201017618,0.010025722905993,-0.003327521262690,-0.047289375215769,0.071881949901581,-0.026969559490681,0.139896512031555,0.006241191644222,-0.013670596294105,0.022018341347575,0.072344131767750,0.007781844586134,-0.083484642207623) * MODEL4_texOff(vec2(-1,-1));
res += mat4(-0.052160423249006,0.035233706235886,0.097160831093788,-0.021290946751833,0.068773373961449,0.068629935383797,-0.109907209873199,-0.014867193996906,0.189864113926888,-0.044914916157722,-0.111893542110920,-0.131812825798988,0.011243975721300,-0.027799462899566,0.019945750012994,-0.001786520588212) * MODEL4_texOff(vec2(-1,0));
res += mat4(0.009672871790826,-0.045993335545063,0.036128729581833,0.026427308097482,-0.047317553311586,0.030541224405169,-0.100767657160759,-0.119030661880970,-0.051133368164301,-0.041210766881704,-0.035396318882704,-0.095387309789658,-0.001246747444384,-0.002167343162000,-0.022842885926366,0.065189555287361) * MODEL4_texOff(vec2(-1,1));
res += mat4(-0.067543938755989,-0.273836165666580,0.060768298804760,-0.199941232800484,0.008491074666381,0.030835386365652,-0.070619218051434,0.093407087028027,0.086998522281647,0.006792562548071,0.145445242524147,-0.035459801554680,0.079040169715881,-0.008733537048101,0.054310452193022,-0.079067558050156) * MODEL4_texOff(vec2(0,-1));
res += mat4(-0.256103605031967,0.049244638532400,0.066679626703262,0.163962885737419,-0.120605885982513,-0.021865578368306,0.054299425333738,-0.263410538434982,-0.094817355275154,-0.045604735612869,0.352161675691605,-0.191332206130028,0.158403009176254,-0.076011404395103,-0.068577527999878,-0.064743369817734) * MODEL4_texOff(vec2(0,0));
res += mat4(0.070958197116852,0.118102215230465,0.028555842116475,0.018527399748564,-0.082721069455147,0.064285650849342,-0.024396957829595,0.080118015408516,0.195541739463806,-0.043935339897871,-0.059831008315086,-0.102466642856598,0.038232706487179,-0.040683582425117,-0.013198973610997,-0.046858370304108) * MODEL4_texOff(vec2(0,1));
res += mat4(0.020745506510139,0.039356231689453,-0.131912574172020,0.040184769779444,0.040648579597473,-0.020407732576132,0.120980419218540,-0.057687979191542,0.093497678637505,0.005789406131953,0.015407989732921,0.006412948947400,-0.110802479088306,-0.094859898090363,-0.145896404981613,-0.103645727038383) * MODEL4_texOff(vec2(1,-1));
res += mat4(0.032991454005241,0.126688092947006,-0.026130584999919,-0.177330315113068,0.059501666575670,-0.226968854665756,0.259018361568451,-0.072335824370384,-0.091988205909729,0.040169373154640,0.155355766415596,0.002978740725666,-0.353966265916824,-0.110929489135742,-0.280817806720734,-0.095796965062618) * MODEL4_texOff(vec2(1,0));
res += mat4(0.078874818980694,0.110139563679695,0.052665188908577,-0.019029665738344,0.118229225277901,0.072266638278961,0.120787553489208,0.069542489945889,-0.012305649928749,-0.033956594765186,-0.001328967628069,-0.003577341558412,-0.145476907491684,-0.086779013276100,0.017938518896699,-0.041660618036985) * MODEL4_texOff(vec2(1,1));
res += mat4(-0.008698643185198,0.120954960584641,0.022746831178665,-0.210941895842552,-0.021729210391641,-0.012820910662413,0.045325439423323,-0.007829359732568,0.031529415398836,-0.044989217072725,-0.051603224128485,0.024182939901948,0.019793594256043,-0.030769441276789,0.025152074173093,0.211192652583122) * MODEL5_texOff(vec2(-1,-1));
res += mat4(-0.080157615244389,0.135767340660095,0.024502526968718,-0.309547245502472,0.008903372101486,-0.057976841926575,0.056053064763546,0.048070888966322,-0.031186314299703,-0.012508459389210,-0.008237604051828,0.083029434084892,0.017779404297471,0.098817043006420,0.053094569593668,0.024887239560485) * MODEL5_texOff(vec2(-1,0));
res += mat4(0.040714740753174,0.017979543656111,0.056498434394598,-0.014552265405655,0.008497818373144,0.061378397047520,0.022993279621005,-0.079121500253677,-0.040458317846060,0.067256525158882,-0.073392361402512,-0.142109513282776,-0.032119341194630,-0.058117706328630,0.001100405468605,-0.097158811986446) * MODEL5_texOff(vec2(-1,1));
res += mat4(-0.075750544667244,0.081084720790386,0.039114564657211,0.014342610724270,0.043838132172823,-0.059799201786518,-0.074030078947544,0.123794227838516,-0.057500049471855,0.166974991559982,-0.003252844093367,0.021887224167585,-0.051443178206682,-0.020538667216897,-0.056188002228737,-0.050481926649809) * MODEL5_texOff(vec2(0,-1));
res += mat4(-0.082972750067711,0.223679229617119,0.131167814135551,0.013376243412495,0.014476810581982,-0.163063973188400,-0.064910277724266,0.120218217372894,0.121330462396145,-0.222208887338638,-0.296610176563263,-0.148792847990990,-0.146764159202576,0.017952738329768,0.008093709126115,-0.095749199390411) * MODEL5_texOff(vec2(0,0));
res += mat4(-0.097584098577499,-0.092410393059254,-0.016405392438173,-0.020575627684593,-0.144152373075485,0.043333489447832,-0.049487702548504,0.032721742987633,0.037992361932993,-0.061260994523764,-0.003633987391368,0.003918712493032,-0.006504716817290,0.034804359078407,-0.031505286693573,0.122143328189850) * MODEL5_texOff(vec2(0,1));
res += mat4(-0.000829574652016,-0.048313364386559,0.063834965229034,-0.051489882171154,0.022975191473961,0.003410604549572,0.025928540155292,-0.057342987507582,-0.005846329499036,0.016991669312119,-0.034853298217058,-0.027520447969437,0.031647272408009,0.036468114703894,0.000858624698594,0.027963556349277) * MODEL5_texOff(vec2(1,-1));
res += mat4(-0.057840779423714,0.030397897586226,0.031210426241159,0.027031719684601,-0.022695174440742,0.021705273538828,0.017867185175419,-0.082021109759808,-0.226600602269173,-0.315446674823761,-0.569362640380859,-0.048139736056328,0.103636339306831,-0.121183462440968,-0.053858280181885,-0.019221434369683) * MODEL5_texOff(vec2(1,0));
res += mat4(0.077829621732235,-0.019636893644929,0.030324967578053,0.027002358809114,0.076546929776669,0.131472229957581,0.017864385619760,0.051895715296268,0.052227392792702,0.047206707298756,-0.029177071526647,-0.027005618438125,0.051520969718695,0.033887345343828,-0.018714655190706,-0.000943452527281) * MODEL5_texOff(vec2(1,1));
res += mat4(-0.020669799298048,-0.019594710320234,0.007017596159130,-0.020825754851103,-0.073376417160034,-0.015882087871432,-0.043923772871494,0.151504337787628,-0.038321651518345,0.140392646193504,0.127234116196632,-0.005225518718362,0.101504772901535,0.156636625528336,-0.227914780378342,-0.323431909084320) * MODEL6_texOff(vec2(-1,-1));
res += mat4(-0.156153798103333,0.148860648274422,-0.023484230041504,-0.010819797404110,-0.148368939757347,-0.074185304343700,-0.000142695877003,0.012431493960321,0.026155779138207,-0.036758843809366,0.209234282374382,-0.281795114278793,0.156101793050766,-0.197548344731331,-0.232599675655365,-0.071858435869217) * MODEL6_texOff(vec2(-1,0));
res += mat4(-0.042482297867537,-0.059887032955885,-0.034727785736322,0.017647728323936,-0.113688446581364,-0.164372190833092,0.039688512682915,-0.063908174633980,-0.024640690535307,0.080054260790348,0.137497052550316,0.195456385612488,0.085680253803730,0.133653938770294,-0.026528382673860,-0.008467983454466) * MODEL6_texOff(vec2(-1,1));
res += mat4(-0.093709044158459,0.236247554421425,-0.002148200990632,-0.156452417373657,-0.064129419624805,-0.085788518190384,0.282117158174515,-0.040323138237000,0.175502941012383,0.118211410939693,-0.106806240975857,0.123412854969501,-0.102602995932102,0.182190001010895,0.027951518073678,0.001442966167815) * MODEL6_texOff(vec2(0,-1));
res += mat4(-0.053878571838140,0.482658654451370,0.000762217212468,-0.046435251832008,0.038523703813553,-0.218136772513390,0.299395442008972,0.242810040712357,0.047170344740152,0.139892950654030,-0.013108879327774,0.012475864961743,-0.239832848310471,-0.231525242328644,-0.158373221755028,-0.181488513946533) * MODEL6_texOff(vec2(0,0));
res += mat4(-0.080117039382458,0.030773393809795,-0.002529532182962,-0.124222755432129,0.098873883485794,-0.052724134176970,0.076770499348640,0.178117036819458,0.001499311882071,-0.367463648319244,-0.073678985238075,-0.123763956129551,-0.060676746070385,0.241136699914932,-0.111249856650829,-0.049403902143240) * MODEL6_texOff(vec2(0,1));
res += mat4(0.098911195993423,0.039595611393452,-0.084418907761574,-0.043058954179287,0.058841474354267,0.037365615367889,-0.144255176186562,-0.039774551987648,0.046498812735081,0.006303367670625,0.014534197747707,-0.044089648872614,-0.000807679956779,0.069281682372093,0.042315125465393,-0.016710074618459) * MODEL6_texOff(vec2(1,-1));
res += mat4(-0.152120858430862,0.125072732567787,0.031715206801891,0.054079141467810,0.037741113454103,-0.058650735765696,-0.124526374042034,-0.096203014254570,0.001928223529831,-0.030714625492692,0.041487619280815,0.015868198126554,0.017178598791361,0.003909298684448,-0.024557070806623,0.091908618807793) * MODEL6_texOff(vec2(1,0));
res += mat4(-0.097219832241535,-0.042166694998741,-0.005561497993767,-0.064975433051586,0.061853829771280,-0.015112750232220,-0.012688400223851,0.022987054660916,0.025334665551782,0.025828752666712,-0.095813602209091,0.162943452596664,-0.119485676288605,0.090515740215778,0.070808380842209,-0.066615819931030) * MODEL6_texOff(vec2(1,1));
res = max(res, vec4(0.0)) + vec4(-0.031236249953508,-0.026464994996786,-0.028871359303594,-0.050059698522091) * min(res, vec4(0.0));
return res;
}

//!HOOK LUMA
//!WHEN OUTPUT.w LUMA.w 2.200 * > OUTPUT.h LUMA.h 2.200 * > *
//!COMPONENTS 4
//!BIND MODEL1
//!BIND MODEL2
//!BIND MODEL3
//!BIND MODEL4
//!BIND MODEL5
//!BIND MODEL6
//!SAVE MODEL10
//!DESC [AiUpscale_HQ_Sharp_3x_LineArt] mapping 8_4

vec4 hook()
{
vec4 res = vec4(-0.285214662551880,-0.160660713911057,-0.206888854503632,-0.299649327993393);
res += mat4(-0.063798390328884,0.033642325550318,0.022247795015574,0.008161610923707,0.082489565014839,-0.082585074007511,-0.067233130335808,0.025638699531555,0.058744803071022,-0.007202423177660,-0.006376759149134,0.010895877145231,0.032525781542063,-0.020980663597584,0.013522213324904,0.004050569608808) * MODEL1_texOff(vec2(-1,-1));
res += mat4(-0.026325112208724,0.033172056078911,0.030677404254675,-0.040112264454365,-0.054078068584204,0.052883513271809,0.126051068305969,-0.171296000480652,0.004255385138094,-0.022068820893764,0.060841143131256,0.024137035012245,-0.044716916978359,-0.000103481397673,0.015583621338010,0.123039029538631) * MODEL1_texOff(vec2(-1,0));
res += mat4(-0.044027838855982,0.022649191319942,-0.145850315690041,-0.217476785182953,-0.006295131053776,0.002762927208096,0.042126420885324,0.155913174152374,-0.029861899092793,0.022050298750401,0.005928907077760,-0.059883981943130,-0.017194146290421,-0.046447843313217,0.044439297169447,0.026378452777863) * MODEL1_texOff(vec2(-1,1));
res += mat4(0.082799978554249,0.046545844525099,0.015733804553747,0.010515548288822,0.326885700225830,0.236553102731705,-0.046494998037815,0.070530742406845,0.116496935486794,-0.057110026478767,-0.104232318699360,0.094853810966015,0.039203118532896,-0.094094172120094,-0.059214379638433,0.094594970345497) * MODEL1_texOff(vec2(0,-1));
res += mat4(-0.359614461660385,0.063333690166473,-0.080986231565475,-0.189131125807762,0.030211629346013,0.074060417711735,-0.326437026262283,-0.173772051930428,-0.462315171957016,0.004469987470657,0.136882215738297,-0.033229842782021,0.182632014155388,0.058818709105253,0.036731909960508,-0.299398422241211) * MODEL1_texOff(vec2(0,0));
res += mat4(0.039934713393450,-0.202076688408852,-0.292957991361618,-0.049685928970575,0.124655075371265,0.062166087329388,0.058431800454855,-0.257226437330246,-0.030316466465592,-0.032632868736982,-0.102288477122784,0.029544452205300,-0.068175382912159,0.086591579020023,0.129393488168716,-0.260939687490463) * MODEL1_texOff(vec2(0,1));
res += mat4(0.033891007304192,0.020750097930431,0.021979246288538,0.163702949881554,0.019525285810232,0.064347520470619,0.147585034370422,-0.050063367933035,0.217753559350967,0.084233500063419,-0.034765552729368,0.107211783528328,0.032425947487354,-0.078548491001129,0.007786955684423,-0.085545286536217) * MODEL1_texOff(vec2(1,-1));
res += mat4(-0.045493889600039,-0.026100130751729,-0.001492699258961,0.171196818351746,-0.012680351734161,-0.109171211719513,-0.019495790824294,0.067149244248867,-0.081662952899933,-0.005304261110723,-0.170810088515282,0.095821678638458,0.038614332675934,0.149967432022095,-0.011369975283742,0.210797712206841) * MODEL1_texOff(vec2(1,0));
res += mat4(0.011107075959444,0.071196138858795,0.041439265012741,-0.060181800276041,0.056132510304451,0.023111082613468,0.003741075750440,0.095557406544685,-0.043167345225811,-0.039539232850075,-0.011290569789708,-0.059767186641693,0.053442358970642,-0.163344830274582,-0.009413726627827,0.165704563260078) * MODEL1_texOff(vec2(1,1));
res += mat4(0.057913649827242,0.052845269441605,-0.024299776181579,-0.103232882916927,0.064226970076561,-0.014064267277718,-0.013082066550851,0.006046763155609,-0.046204999089241,-0.052342459559441,0.024264410138130,-0.022057857364416,-0.084972172975540,0.044374931603670,-0.053449396044016,0.030811307951808) * MODEL2_texOff(vec2(-1,-1));
res += mat4(0.048292536288500,0.142361700534821,-0.035409007221460,-0.254965186119080,-0.053514592349529,-0.013084772042930,0.001981149427593,-0.020146520808339,-0.253223687410355,0.052691128104925,-0.007511640898883,-0.053242478519678,-0.007034908514470,-0.055887542665005,0.060293328016996,0.210829913616180) * MODEL2_texOff(vec2(-1,0));
res += mat4(0.034201335161924,-0.081094779074192,-0.046139646321535,0.023783810436726,0.032659571617842,0.049177192151546,-0.040373187512159,-0.067608088254929,0.114549860358238,0.006088072434068,-0.032428774982691,0.104893840849400,0.050645541399717,0.006174095440656,0.031223531812429,0.027824493125081) * MODEL2_texOff(vec2(-1,1));
res += mat4(0.019989456981421,0.229657024145126,-0.066225871443748,-0.051604166626930,0.057447697967291,0.049853455275297,-0.076838329434395,-0.070952199399471,-0.011150141246617,0.074451699852943,0.056557793170214,0.033562034368515,0.023019347339869,0.027644185349345,-0.051667802035809,-0.083264946937561) * MODEL2_texOff(vec2(0,-1));
res += mat4(-0.019060581922531,0.173225045204163,-0.126219242811203,0.055632513016462,-0.162469416856766,0.042387183755636,-0.001213725074194,0.082553163170815,0.091261245310307,-0.028176754713058,-0.037709418684244,-0.101997636258602,0.016263913363218,0.119215801358223,-0.170815169811249,-0.305376440286636) * MODEL2_texOff(vec2(0,0));
res += mat4(0.038371838629246,0.120209604501724,-0.141926497220993,0.127264469861984,0.039683610200882,0.008992484770715,0.080813854932785,-0.007919707335532,-0.090467959642410,-0.028049461543560,0.091472253203392,0.016548868268728,-0.007709568366408,-0.044059071689844,0.195499479770660,-0.102064579725266) * MODEL2_texOff(vec2(0,1));
res += mat4(0.048728417605162,0.255724728107452,0.028728576377034,-0.077879399061203,-0.049549933522940,0.098671860992908,0.005693445913494,0.048876926302910,-0.013918021693826,-0.115952588617802,0.034848354756832,0.058688003569841,-0.015387033112347,-0.478696674108505,0.026761695742607,-0.105996660888195) * MODEL2_texOff(vec2(1,-1));
res += mat4(-0.002515613334253,0.160713061690331,-0.068879343569279,0.143798783421516,0.087574884295464,-0.074379920959473,-0.094078212976456,0.070415459573269,-0.004242858383805,0.305662572383881,0.020850086584687,0.012193498201668,0.021839896216989,-0.155564114451408,-0.015695899724960,-0.248743906617165) * MODEL2_texOff(vec2(1,0));
res += mat4(0.009855299256742,0.057177174836397,0.000201387214474,-0.073304131627083,-0.016544841229916,0.027371224015951,0.043452009558678,0.070771858096123,-0.028125405311584,-0.094421871006489,-0.037296198308468,-0.040166340768337,0.010650663636625,0.047649569809437,-0.000647683395073,0.011263502761722) * MODEL2_texOff(vec2(1,1));
res += mat4(-0.023483125492930,0.046600956469774,0.006884025409818,0.037238959223032,-0.048346858471632,0.029532702639699,0.046872541308403,0.205084040760994,0.063684105873108,0.090557292103767,0.008347967639565,-0.073497712612152,-0.024199450388551,-0.130988374352455,0.042773772031069,-0.069163106381893) * MODEL3_texOff(vec2(-1,-1));
res += mat4(-0.107710123062134,0.047361940145493,-0.121972873806953,-0.046884436160326,-0.087507776916027,-0.057897452265024,-0.092712536454201,0.227133765816689,0.148511275649071,0.036090530455112,0.065727286040783,-0.081853352487087,-0.091712877154350,0.057616073638201,0.005492545664310,-0.075273364782333) * MODEL3_texOff(vec2(-1,0));
res += mat4(0.012772736139596,-0.021870223805308,-0.189100101590157,-0.052458226680756,0.020706672221422,-0.010891985148191,-0.104673974215984,-0.058386288583279,0.007573826704174,-0.040532983839512,0.028038380667567,0.015469328500330,0.074238911271095,-0.012821709737182,-0.112833850085735,0.018729755654931) * MODEL3_texOff(vec2(-1,1));
res += mat4(-0.111923754215240,0.021064052358270,-0.021140519529581,-0.124426051974297,-0.077102236449718,-0.242152556777000,-0.012990973889828,-0.011702719144523,-0.065474681556225,0.061150331050158,0.223792448639870,-0.174574062228203,-0.158559754490852,0.042096015065908,-0.009339772164822,-0.131963983178139) * MODEL3_texOff(vec2(0,-1));
res += mat4(-0.185795962810516,-0.046537604182959,-0.127355918288231,0.168589860200882,-0.075348578393459,0.119619607925415,-0.005817031953484,-0.281593143939972,0.081819429993629,-0.032127339392900,0.247986882925034,-0.000938228506129,0.208621993660927,-0.097495764493942,-0.403375864028931,-0.034858204424381) * MODEL3_texOff(vec2(0,0));
res += mat4(0.047038454562426,0.014791968278587,-0.096203297376633,-0.007085393182933,-0.014692520722747,0.039205044507980,-0.003914530854672,-0.153356954455376,0.116833068430424,0.076333045959473,-0.086691208183765,-0.168671756982803,-0.077144928276539,-0.039667267352343,-0.093934148550034,-0.042939953505993) * MODEL3_texOff(vec2(0,1));
res += mat4(-0.145437702536583,-0.185923606157303,0.010474785231054,-0.062095459550619,-0.028256079182029,0.013076115399599,-0.005281156394631,0.039143942296505,0.096978336572647,-0.143082126975060,-0.005167129915208,-0.104316659271717,-0.036477338522673,0.152025222778320,0.048198837786913,0.190687552094460) * MODEL3_texOff(vec2(1,-1));
res += mat4(-0.073726065456867,-0.041517712175846,-0.223190709948540,-0.299329102039337,0.011815449222922,0.031153419986367,-0.010937745682895,0.128179013729095,0.025439875200391,-0.044473450630903,0.232094869017601,0.028617685660720,-0.027991760522127,0.228917405009270,-0.039546221494675,0.050030872225761) * MODEL3_texOff(vec2(1,0));
res += mat4(0.029832903295755,0.068506285548210,-0.022604249417782,-0.030787052586675,-0.010641459375620,0.012681232765317,0.021077433601022,-0.006047039292753,0.005460191518068,0.023005124181509,0.205703437328339,-0.090450391173363,-0.045811612159014,0.055168177932501,-0.157634139060974,0.084080107510090) * MODEL3_texOff(vec2(1,1));
res += mat4(0.054490093141794,0.019232874736190,-0.095380760729313,0.023137161508203,0.045099690556526,-0.035228773951530,0.054781060665846,-0.040225975215435,-0.151388913393021,-0.007705657277256,0.033323284238577,0.006444742437452,-0.043634727597237,0.047501243650913,0.018909676000476,-0.006575779058039) * MODEL4_texOff(vec2(-1,-1));
res += mat4(0.177858427166939,0.016126131638885,-0.149400398135185,0.076550707221031,-0.039810728281736,0.068414449691772,0.052417241036892,-0.094269588589668,-0.036983970552683,0.015051280148327,-0.043378133326769,0.085986293852329,0.015848601236939,-0.046909555792809,-0.024507634341717,0.083334118127823) * MODEL4_texOff(vec2(-1,0));
res += mat4(-0.075449876487255,-0.026718473061919,0.101512797176838,-0.002270342549309,-0.009761748835444,0.029738545417786,-0.009801545180380,-0.167774215340614,0.052952401340008,0.002846373710781,0.015294613316655,-0.193862855434418,0.020094221457839,0.053475990891457,-0.023359948769212,0.006389029789716) * MODEL4_texOff(vec2(-1,1));
res += mat4(0.068058438599110,-0.238715931773186,-0.220781177282333,0.050291549414396,0.053627353161573,0.023514768108726,0.084230281412601,-0.017807057127357,0.078248284757137,-0.055002368986607,-0.134212568402290,0.099340349435806,-0.195295631885529,-0.033525820821524,-0.136954307556152,0.065406680107117) * MODEL4_texOff(vec2(0,-1));
res += mat4(-0.084617331624031,-0.020822269842029,-0.056968197226524,0.099092140793800,-0.053002443164587,-0.129232063889503,-0.096804156899452,0.084904514253139,-0.019406819716096,-0.034036628901958,0.145412087440491,0.408690780401230,0.046125371009111,0.092953540384769,-0.089549228549004,-0.057452112436295) * MODEL4_texOff(vec2(0,0));
res += mat4(0.103574946522713,0.128248140215874,-0.252003014087677,0.111629880964756,0.057242795825005,-0.064757801592350,-0.052892621606588,0.142155095934868,-0.086683161556721,-0.060121010988951,0.082342848181725,0.205491468310356,0.027773689478636,-0.048948731273413,0.053044870495796,-0.026410492137074) * MODEL4_texOff(vec2(0,1));
res += mat4(-0.058237750083208,-0.064007461071014,0.065155774354935,-0.137527346611023,-0.022315667942166,0.017984099686146,0.033837229013443,0.041537381708622,-0.092946156859398,0.009767319075763,-0.009501670487225,-0.010467281565070,-0.071262821555138,0.002705625724047,-0.044814176857471,-0.053667344152927) * MODEL4_texOff(vec2(1,-1));
res += mat4(0.006888228468597,0.008423328399658,-0.026788994669914,-0.037474486976862,-0.116419583559036,-0.040404822677374,-0.059403326362371,0.249281436204910,-0.023119587451220,-0.168997779488564,-0.098627634346485,0.005495345219970,0.168362587690353,-0.090110421180725,-0.145480901002884,-0.364279419183731) * MODEL4_texOff(vec2(1,0));
res += mat4(-0.017074013128877,-0.074704535305500,-0.014637569896877,0.026094876229763,0.010401168838143,0.019606981426477,-0.122110769152641,0.189849391579628,0.027160815894604,0.030174735933542,-0.000713415385690,0.041130259633064,0.032021649181843,0.015855392441154,0.011778416112065,-0.104370921850204) * MODEL4_texOff(vec2(1,1));
res += mat4(-0.157752439379692,-0.066021084785461,-0.016771206632257,0.007801151834428,0.123037226498127,0.055035501718521,0.014218985103071,-0.003836866933852,0.124742388725281,-0.006598290521652,0.029648663476110,-0.036986745893955,0.023501543328166,-0.011924861930311,-0.077138729393482,-0.061863023787737) * MODEL5_texOff(vec2(-1,-1));
res += mat4(0.005813412833959,0.041449185460806,-0.017540151253343,-0.026956463232636,0.173357933759689,0.004903959110379,-0.055683508515358,0.140170246362686,-0.100721634924412,-0.042710941284895,0.016877818852663,-0.060968060046434,-0.015585446730256,0.130659967660904,0.099320940673351,-0.200673103332520) * MODEL5_texOff(vec2(-1,0));
res += mat4(0.048957258462906,0.042153753340244,-0.132454782724380,0.075082935392857,-0.065060362219810,0.030801298096776,0.062349986284971,-0.017240628600121,-0.050933577120304,0.032417409121990,-0.051426898688078,-0.142930418252945,0.116708889603615,-0.006780789233744,-0.033406957983971,0.030101504176855) * MODEL5_texOff(vec2(-1,1));
res += mat4(-0.274696230888367,0.105859398841858,0.097688436508179,-0.135710477828979,-0.031878124922514,-0.273965090513229,0.042909603565931,0.021157182753086,-0.163452699780464,-0.102050423622131,0.156311258673668,-0.049843024462461,0.084833949804306,0.228993996977806,0.087108075618744,0.014963508583605) * MODEL5_texOff(vec2(0,-1));
res += mat4(-0.131055712699890,-0.337555646896362,0.220963969826698,0.122638612985611,0.219946667551994,-0.046159639954567,-0.076710507273674,-0.260539501905441,-0.409596174955368,0.058648191392422,-0.420363038778305,0.087163798511028,-0.317354708909988,-0.266716331243515,0.162478744983673,0.043505512177944) * MODEL5_texOff(vec2(0,0));
res += mat4(-0.049325924366713,-0.086714908480644,0.111045785248280,-0.059595409780741,0.198446199297905,-0.006841637194157,-0.171331167221069,0.023071730509400,-0.047045495361090,-0.117662541568279,-0.031241184100509,0.101713635027409,0.195651486515999,0.030049193650484,-0.091377630829811,0.085248768329620) * MODEL5_texOff(vec2(0,1));
res += mat4(-0.088241808116436,-0.058189772069454,-0.027182040736079,0.167179435491562,0.066034063696861,0.017529401928186,0.078060045838356,0.074564434587955,-0.031062113121152,-0.267830282449722,0.055148411542177,0.057018898427486,0.047070957720280,0.049799643456936,0.041619021445513,0.020768420770764) * MODEL5_texOff(vec2(1,-1));
res += mat4(0.012758717872202,0.118787266314030,0.002084897365421,-0.073830261826515,0.021525498479605,-0.063596434891224,0.094375036656857,0.108766362071037,-0.098072335124016,-0.214909523725510,0.019031174480915,-0.310609608888626,-0.041572585701942,0.031296353787184,0.049063067883253,0.070645600557327) * MODEL5_texOff(vec2(1,0));
res += mat4(0.008527322672307,-0.017507595941424,-0.040269307792187,0.064367048442364,-0.012039654888213,-0.079802460968494,-0.118528634309769,0.060419075191021,-0.085418537259102,0.004298361483961,0.042457316070795,0.001430439879186,0.009302657097578,0.023658674210310,0.046630807220936,-0.020294848829508) * MODEL5_texOff(vec2(1,1));
res += mat4(-0.073480866849422,-0.037220753729343,0.023007614538074,0.028789885342121,-0.058977439999580,-0.087330043315887,-0.060543198138475,-0.079770706593990,0.101074807345867,0.030980646610260,0.026133021339774,-0.033917035907507,-0.055993512272835,0.037616487592459,0.068322345614433,0.030850304290652) * MODEL6_texOff(vec2(-1,-1));
res += mat4(-0.001529476838186,-0.131544500589371,0.086782976984978,0.019514011219144,0.013226591981947,0.031097037717700,-0.154501959681511,-0.072413802146912,-0.070018850266933,0.064657554030418,0.082515075802803,0.223466128110886,-0.000390069501009,0.088312879204750,-0.183659628033638,-0.072879597544670) * MODEL6_texOff(vec2(-1,0));
res += mat4(-0.072798863053322,0.014638026244938,-0.005485946312547,-0.057313647121191,-0.072916559875011,-0.018116481602192,0.053328782320023,0.001856788643636,0.159763202071190,-0.010437116026878,0.146189197897911,0.231159552931786,0.002064465777948,0.015355599112809,0.029289025813341,0.081839725375175) * MODEL6_texOff(vec2(-1,1));
res += mat4(0.037801511585712,0.113001234829426,-0.093904882669449,-0.085187524557114,-0.074492722749710,0.027668481692672,-0.116138897836208,0.231182679533958,-0.048553746193647,0.000143485114677,0.027960570529103,0.051946632564068,-0.098592296242714,-0.171741619706154,-0.016136132180691,-0.065764464437962) * MODEL6_texOff(vec2(0,-1));
res += mat4(-0.017624370753765,0.035019870847464,0.129898041486740,-0.043988112360239,0.015097469091415,-0.099494501948357,0.028168752789497,0.469541162252426,-0.156542748212814,-0.115440107882023,-0.039827387779951,-0.321308195590973,-0.014398286119103,-0.062393222004175,-0.075403474271297,-0.319480538368225) * MODEL6_texOff(vec2(0,0));
res += mat4(-0.079190284013748,-0.072748750448227,0.016347324475646,-0.085013546049595,-0.005875803530216,0.041809119284153,-0.129179716110229,0.200639307498932,0.047020483762026,0.127216517925262,0.233353301882744,-0.247934177517891,0.079812064766884,0.092301100492477,-0.165976777672768,-0.109603986144066) * MODEL6_texOff(vec2(0,1));
res += mat4(-0.019425479695201,-0.143925935029984,-0.065108805894852,-0.050891511142254,0.014620790258050,-0.027306502684951,-0.043537605553865,0.118587702512741,0.024504937231541,0.154005527496338,-0.047921959310770,0.068962208926678,0.078871756792068,-0.100159183144569,-0.083222761750221,0.039337519556284) * MODEL6_texOff(vec2(1,-1));
res += mat4(-0.078378349542618,-0.047180082648993,-0.041988492012024,-0.040244217962027,0.004730889573693,0.097459658980370,0.009658048860729,0.048386748880148,0.125216886401176,-0.243758350610733,-0.081503205001354,0.100462377071381,-0.171683669090271,0.064593784511089,0.096045918762684,-0.054015960544348) * MODEL6_texOff(vec2(1,0));
res += mat4(-0.021913859993219,0.009091274812818,-0.014627946540713,0.002535532228649,-0.026313181966543,0.031110132113099,-0.072694592177868,0.099422045052052,0.030007546767592,0.014493112452328,0.155804470181465,0.088836252689362,0.037230744957924,-0.129596725106239,-0.108846008777618,-0.007049682084471) * MODEL6_texOff(vec2(1,1));
res = max(res, vec4(0.0)) + vec4(-0.027426665648818,-0.002105341758579,-0.061050143092871,-0.051889106631279) * min(res, vec4(0.0));
return res;
}

//!HOOK LUMA
//!WHEN OUTPUT.w LUMA.w 2.200 * > OUTPUT.h LUMA.h 2.200 * > *
//!COMPONENTS 4
//!BIND MODEL1
//!BIND MODEL2
//!BIND MODEL3
//!BIND MODEL4
//!BIND MODEL5
//!BIND MODEL6
//!SAVE MODEL11
//!DESC [AiUpscale_HQ_Sharp_3x_LineArt] mapping 8_5

vec4 hook()
{
vec4 res = vec4(-0.102983810007572,-0.163011431694031,-0.088860563933849,0.125561654567719);
res += mat4(0.029125038534403,0.047188986092806,0.012725268490613,0.030195254832506,0.029493696987629,-0.116190694272518,0.233682572841644,0.087057158350945,-0.014721418730915,0.059795901179314,0.024807956069708,-0.022902790457010,-0.072790250182152,-0.024443082511425,0.104419961571693,0.000339806952979) * MODEL1_texOff(vec2(-1,-1));
res += mat4(0.015912042930722,-0.158800214529037,-0.074998028576374,0.017395256087184,0.193937808275223,0.164638295769691,-0.184278011322021,0.067853614687920,-0.070301152765751,-0.034589406102896,0.070425771176815,0.059928324073553,-0.109299667179585,-0.064589776098728,-0.095344364643097,0.010681103914976) * MODEL1_texOff(vec2(-1,0));
res += mat4(0.130676552653313,-0.078837610781193,0.088486485183239,-0.052382394671440,-0.105872578918934,-0.032547526061535,0.104301005601883,-0.005042043980211,0.061461821198463,-0.004756693728268,-0.052999254316092,0.024060536175966,-0.106925241649151,-0.003651600331068,0.022006984800100,-0.055235754698515) * MODEL1_texOff(vec2(-1,1));
res += mat4(0.112273298203945,-0.042460165917873,0.151647478342056,0.026800587773323,0.034991621971130,0.132885381579399,0.082215286791325,-0.114580549299717,0.102590531110764,-0.145015820860863,-0.367047637701035,0.053551416844130,0.033925499767065,-0.170417308807373,0.088277101516724,-0.011786301620305) * MODEL1_texOff(vec2(0,-1));
res += mat4(0.000739212788176,-0.302207082509995,-0.344559073448181,-0.002251108875498,0.034186322242022,-0.052100412547588,0.207026362419128,0.395491212606430,0.061478439718485,0.069033890962601,-0.039803806692362,-0.012499311938882,0.134510517120361,0.068665772676468,0.124395042657852,-0.107415117323399) * MODEL1_texOff(vec2(0,0));
res += mat4(-0.062916941940784,-0.148379743099213,0.047073960304260,-0.212223306298256,0.000833504775073,-0.092019036412239,0.019806526601315,0.099381014704704,-0.065812818706036,0.011759762652218,-0.081793732941151,-0.076360449194908,0.207338050007820,0.022858597338200,-0.041573330760002,-0.060177303850651) * MODEL1_texOff(vec2(0,1));
res += mat4(-0.031166160479188,0.014670534990728,0.002012829761952,-0.017638474702835,-0.013139038346708,-0.087513834238052,0.029875854030252,-0.042991627007723,0.071402356028557,0.096166245639324,0.011768892407417,-0.149306073784828,0.047045581042767,-0.023989090695977,-0.060733731836081,-0.037833895534277) * MODEL1_texOff(vec2(1,-1));
res += mat4(0.002655199961737,-0.007889437489212,-0.019429942592978,0.056938987225294,0.023271478712559,-0.019743533805013,0.064544826745987,-0.000152719323523,0.059746649116278,-0.187881037592888,-0.125603511929512,0.208295434713364,0.067974075675011,-0.190499782562256,0.033220570534468,0.040070187300444) * MODEL1_texOff(vec2(1,0));
res += mat4(-0.019846858456731,0.091090485453606,0.064878150820732,-0.197178557515144,0.024620309472084,0.048576518893242,0.033129233866930,-0.131887793540955,0.017590595409274,-0.046736940741539,0.021778620779514,-0.017842026427388,0.002015095436946,-0.029400436207652,-0.054257243871689,-0.053039144724607) * MODEL1_texOff(vec2(1,1));
res += mat4(0.043009627610445,0.036098714917898,0.023167256265879,0.107485480606556,-0.104070119559765,0.062308553606272,0.007190428674221,0.031724359840155,0.010532877407968,0.013976918533444,-0.060381658375263,0.014611121267080,-0.015757525339723,0.014179365709424,-0.055642396211624,0.037653036415577) * MODEL2_texOff(vec2(-1,-1));
res += mat4(0.286843210458755,0.013405883684754,0.040647249668837,0.012149566784501,-0.095673866569996,0.039352059364319,-0.061162050813437,0.113219790160656,-0.025633556768298,0.022506365552545,-0.253220796585083,-0.051982145756483,-0.274714320898056,0.009926434606314,-0.014665807597339,-0.007350118830800) * MODEL2_texOff(vec2(-1,0));
res += mat4(-0.018371133133769,-0.003102911869064,-0.066848248243332,-0.054295130074024,0.057634633034468,0.016025552526116,-0.030664127320051,-0.022303065285087,-0.199898123741150,-0.064092628657818,0.148435398936272,-0.066797226667404,0.023526523262262,-0.002149849431589,0.080826096236706,-0.000436819245806) * MODEL2_texOff(vec2(-1,1));
res += mat4(0.005546897649765,0.165579244494438,-0.088856406509876,0.092290513217449,0.023626824840903,-0.092317625880241,-0.088803954422474,-0.072461582720280,0.079541198909283,-0.127048850059509,0.079792819917202,-0.052940957248211,0.017932359129190,-0.130988389253616,-0.140034481883049,-0.024262091144919) * MODEL2_texOff(vec2(0,-1));
res += mat4(0.016977764666080,0.024080686271191,0.055564772337675,-0.094005748629570,0.037582773715258,-0.034634474664927,-0.072832554578781,0.063823692500591,0.236410573124886,-0.026156218722463,-0.136711299419403,0.045612808316946,-0.377582311630249,-0.352788925170898,-0.138635486364365,-0.041764929890633) * MODEL2_texOff(vec2(0,0));
res += mat4(0.047353573143482,-0.040440715849400,-0.175638735294342,0.013743172399700,0.019614156335592,0.035891883075237,0.145221844315529,0.015327461063862,0.215382650494576,0.026288289576769,0.161080121994019,-0.235646367073059,-0.002092437352985,0.030534062534571,0.105114251375198,-0.016660526394844) * MODEL2_texOff(vec2(0,1));
res += mat4(0.038394887000322,0.041489116847515,-0.029121818020940,-0.023131616413593,-0.017282338812947,-0.038885015994310,-0.018279768526554,-0.017903748899698,0.014178153127432,-0.058509875088930,0.052296269685030,0.023620679974556,-0.024415515363216,-0.029984090477228,0.004234475083649,-0.002493034116924) * MODEL2_texOff(vec2(1,-1));
res += mat4(0.025955131277442,0.044884558767080,-0.013564985245466,0.040964461863041,0.095089934766293,-0.059209555387497,0.023179503157735,0.057843372225761,0.002052329247817,-0.058406576514244,-0.102494612336159,-0.072790458798409,-0.055854395031929,0.089341051876545,0.045681916177273,-0.154536068439484) * MODEL2_texOff(vec2(1,0));
res += mat4(-0.089280195534229,0.082977600395679,-0.000563032634091,-0.017439033836126,-0.064689040184021,0.016084725037217,0.083761759102345,-0.133258134126663,0.108715981245041,0.065368920564651,0.028708426281810,-0.027433034032583,-0.013362429104745,-0.044813048094511,-0.040446754544973,0.070590011775494) * MODEL2_texOff(vec2(1,1));
res += mat4(0.050372049212456,0.007728571072221,-0.101165927946568,0.028776163235307,-0.008860900066793,-0.015580725856125,-0.078521989285946,0.010942412540317,0.046053022146225,-0.067950807511806,0.042734105139971,-0.008210561238229,-0.062069848179817,0.181656554341316,-0.085879318416119,0.188945502042770) * MODEL3_texOff(vec2(-1,-1));
res += mat4(-0.080069087445736,0.050985105335712,-0.154821321368217,-0.002132605528459,-0.075241371989250,0.053923808038235,0.089854620397091,0.038810204714537,0.003986570984125,0.007666218560189,0.084478944540024,-0.033304948359728,0.037393778562546,0.092283084988594,-0.070517972111702,-0.085787855088711) * MODEL3_texOff(vec2(-1,0));
res += mat4(0.037380643188953,0.036755036562681,-0.024464216083288,-0.024186573922634,-0.012508339248598,0.001449322793633,-0.089485242962837,0.008348064497113,-0.131512567400932,0.059729151427746,0.023530133068562,0.009995205327868,-0.140989348292351,0.080857381224632,-0.077670685946941,0.151503637433052) * MODEL3_texOff(vec2(-1,1));
res += mat4(-0.140843912959099,0.107928074896336,-0.279202193021774,0.072462797164917,-0.054098453372717,0.000307067530230,-0.048851810395718,0.096868380904198,-0.105794079601765,0.235075637698174,0.156467303633690,-0.085086233913898,-0.060075670480728,-0.131741672754288,0.139038681983948,0.103870339691639) * MODEL3_texOff(vec2(0,-1));
res += mat4(-0.095424093306065,-0.030296619981527,-0.157525688409805,-0.060340311378241,-0.128988102078438,0.075863890349865,0.090088360011578,-0.305149585008621,0.092083372175694,0.413617193698883,0.042515240609646,0.047646161168814,0.268718719482422,0.106865897774696,-0.156321585178375,0.035265423357487) * MODEL3_texOff(vec2(0,0));
res += mat4(-0.076056666672230,-0.008544108830392,-0.006133685819805,-0.068056114017963,0.015381889417768,-0.041910719126463,-0.053432874381542,0.083775714039803,0.030426058918238,0.008589385077357,-0.090831369161606,0.029341312125325,0.081582263112068,0.125856474041939,-0.163818880915642,-0.032986536622047) * MODEL3_texOff(vec2(0,1));
res += mat4(0.261703044176102,-0.041955925524235,-0.199734345078468,0.112922258675098,-0.075283579528332,-0.020035002380610,0.008233617991209,-0.019852623343468,-0.005084069445729,0.088388651609421,-0.150215536355972,0.141578033566475,0.025440251454711,-0.109376490116119,0.099624536931515,0.073071636259556) * MODEL3_texOff(vec2(1,-1));
res += mat4(0.157959669828415,0.141679719090462,0.042376141995192,0.026824427768588,-0.016077568754554,-0.079939380288124,-0.057145513594151,0.080219537019730,-0.111281134188175,-0.031210776418447,0.060512252151966,0.150159120559692,-0.058388419449329,0.043370265513659,-0.132254794239998,-0.283157199621201) * MODEL3_texOff(vec2(1,0));
res += mat4(0.028568467125297,0.002045137342066,0.042469959706068,-0.136093631386757,-0.002654711715877,0.048403181135654,0.033452663570642,0.045091465115547,0.052400987595320,0.089216887950897,0.139690876007080,0.016629165038466,0.145954534411430,0.064450494945049,-0.075060456991196,0.234587922692299) * MODEL3_texOff(vec2(1,1));
res += mat4(-0.041692323982716,-0.160548359155655,-0.230890586972237,-0.021404264494777,0.013468366116285,-0.042910527437925,0.106015838682652,-0.019452970474958,-0.034159872680902,0.014658436179161,-0.337851822376251,0.096641115844250,0.067937828600407,0.060630422085524,-0.019651506096125,-0.029000487178564) * MODEL4_texOff(vec2(-1,-1));
res += mat4(-0.319317340850830,-0.219001099467278,0.026037463918328,0.141790702939034,0.203306362032890,0.010599323548377,0.088922470808029,-0.027477031573653,0.088983617722988,0.091691374778748,0.194139525294304,-0.097316674888134,-0.005869562271982,0.079199180006981,-0.057761415839195,0.014190706424415) * MODEL4_texOff(vec2(-1,0));
res += mat4(0.002042605075985,0.111633040010929,-0.098868064582348,-0.064786031842232,0.122770622372627,-0.024877402931452,0.010239868424833,-0.000182843999937,0.183390334248543,0.034278634935617,0.009713307023048,0.029419604688883,-0.051663290709257,0.007911446504295,0.021536977961659,0.014011541381478) * MODEL4_texOff(vec2(-1,1));
res += mat4(-0.044991139322519,0.120752781629562,-0.195963904261589,-0.165309250354767,0.133213698863983,0.106813274323940,0.148048356175423,-0.089446946978569,0.043941929936409,0.058595258742571,0.180533617734909,0.018690077587962,-0.125759914517403,-0.119156397879124,-0.209085971117020,0.059983022511005) * MODEL4_texOff(vec2(0,-1));
res += mat4(-0.056520748883486,0.236490607261658,0.029756994917989,-0.128470256924629,0.159286603331566,-0.280520468950272,-0.190572381019592,0.174990564584732,0.125032871961594,-0.059833858162165,-0.180295288562775,0.195486649870872,-0.346057057380676,-0.053498569875956,-0.120518699288368,-0.121606081724167) * MODEL4_texOff(vec2(0,0));
res += mat4(0.100878633558750,-0.072085067629814,-0.238124266266823,0.162569776177406,0.221351727843285,0.077366016805172,0.112884089350700,-0.018229102715850,-0.076669037342072,0.000110260494694,0.128929942846298,-0.109253801405430,-0.072220802307129,0.049916960299015,0.108024753630161,0.070243597030640) * MODEL4_texOff(vec2(0,1));
res += mat4(-0.034010205417871,-0.006114715710282,0.060335706919432,-0.049997229129076,-0.054026059806347,0.044594381004572,-0.144079044461250,-0.006840774789453,-0.069136142730713,0.049659632146358,-0.055860273540020,-0.013137998990715,-0.030582567676902,0.087767146527767,-0.033037863671780,0.062384199351072) * MODEL4_texOff(vec2(1,-1));
res += mat4(0.022432746365666,-0.072984270751476,-0.074032679200172,-0.079455673694611,-0.258624315261841,0.051433838903904,0.046549323946238,-0.008916737511754,-0.111733756959438,0.062749564647675,0.034602593630552,0.029293902218342,0.105889320373535,0.087879687547684,-0.024652248248458,-0.145905897021294) * MODEL4_texOff(vec2(1,0));
res += mat4(0.007023883983493,0.068791031837463,-0.009886211715639,-0.055504519492388,-0.162232831120491,-0.069641031324863,-0.047409188002348,0.104594744741917,-0.050848249346018,-0.032420963048935,-0.083253346383572,0.076505385339260,0.113145440816879,0.043318726122379,0.001560049131513,0.063594542443752) * MODEL4_texOff(vec2(1,1));
res += mat4(-0.097924776375294,-0.005782271735370,0.116177484393120,-0.001575260423124,0.102659367024899,0.049117032438517,-0.008097439073026,-0.037168480455875,0.019193677231669,-0.034085672348738,0.104231581091881,-0.074763894081116,0.112495265901089,0.077607519924641,-0.040935009717941,0.044719595462084) * MODEL5_texOff(vec2(-1,-1));
res += mat4(-0.072217904031277,0.031958095729351,-0.131776928901672,-0.129577338695526,-0.103313639760017,-0.169369339942932,0.240204498171806,0.046112589538097,-0.022482102736831,-0.033124554902315,0.089223951101303,0.009632365778089,0.368141919374466,0.203514516353607,0.235590323805809,-0.160383269190788) * MODEL5_texOff(vec2(-1,0));
res += mat4(0.007907589897513,-0.050236962735653,0.048040352761745,0.056255854666233,0.070321962237358,-0.019410302862525,-0.128266036510468,0.092672705650330,0.064739197492599,0.007763828616589,-0.063403055071831,-0.032392848283052,0.088272184133530,-0.014663541689515,-0.061936225742102,0.066885434091091) * MODEL5_texOff(vec2(-1,1));
res += mat4(-0.041365079581738,-0.116375364363194,0.185599818825722,0.022060031071305,0.034425631165504,-0.058273497968912,-0.030733937397599,0.057348843663931,-0.015184965915978,0.045638062059879,-0.190894037485123,-0.046344894915819,0.008058478124440,0.139628529548645,-0.160061910748482,-0.057024851441383) * MODEL5_texOff(vec2(0,-1));
res += mat4(-0.023440569639206,-0.222792491316795,-0.292482852935791,-0.158351972699165,-0.019540552049875,0.167557522654533,0.021297795698047,0.112126342952251,-0.348756194114685,-0.460807949304581,-0.158204331994057,-0.059074655175209,-0.247096478939056,0.071180306375027,0.153433248400688,0.320360302925110) * MODEL5_texOff(vec2(0,0));
res += mat4(-0.051441993564367,0.072638466954231,0.093052238225937,0.006039700005203,-0.135175406932831,-0.199129432439804,-0.048558145761490,0.235121682286263,-0.117930904030800,0.103026203811169,0.060238409787416,-0.080424450337887,-0.071680068969727,-0.110174439847469,-0.076615154743195,-0.111553281545639) * MODEL5_texOff(vec2(0,1));
res += mat4(0.028660519048572,-0.063558466732502,-0.003311082720757,0.005206369329244,-0.008962971158326,0.000968745793216,0.019193559885025,0.038025211542845,-0.024185726419091,0.086478978395462,-0.107061140239239,0.090099357068539,-0.049808666110039,-0.034838799387217,-0.017715113237500,-0.005241133272648) * MODEL5_texOff(vec2(1,-1));
res += mat4(0.010360923595726,0.058328047394753,-0.018702089786530,0.024404909461737,0.054657232016325,-0.076567560434341,0.040126673877239,-0.135232567787170,0.135834246873856,-0.207313850522041,-0.070427380502224,-0.106742113828659,0.002876815851778,-0.064843595027924,0.000400694349082,0.235719949007034) * MODEL5_texOff(vec2(1,0));
res += mat4(0.028525071218610,-0.019174750894308,-0.053813643753529,-0.028247505426407,0.010556624270976,0.021990651264787,-0.061835888773203,-0.080006979405880,0.108594916760921,-0.017153976485133,0.016426919028163,-0.252435445785522,-0.016384264454246,0.036515463143587,0.043073456734419,-0.173432335257530) * MODEL5_texOff(vec2(1,1));
res += mat4(0.020697312429547,-0.043597079813480,0.097154393792152,-0.040633864700794,0.014144820161164,-0.044492751359940,-0.106781452894211,0.025667687878013,0.094302549958229,0.154347047209740,0.075147412717342,-0.000024408471290,-0.006272796075791,-0.227558284997940,-0.141104817390442,-0.027895402163267) * MODEL6_texOff(vec2(-1,-1));
res += mat4(-0.146887063980103,-0.010087146423757,-0.012545153498650,-0.018702084198594,0.155146792531013,0.176682665944099,0.035566914826632,-0.126218140125275,-0.198031291365623,0.263693690299988,-0.064463876187801,-0.019550137221813,-0.138870492577553,-0.127718210220337,-0.036688074469566,-0.044437073171139) * MODEL6_texOff(vec2(-1,0));
res += mat4(-0.050997357815504,0.036553565412760,-0.027123499661684,-0.013303007930517,0.042438272386789,0.060890235006809,-0.008252214640379,0.079168476164341,-0.082761391997337,0.000415797054302,0.181863844394684,-0.003043120726943,-0.159590303897858,-0.016532961279154,-0.043841380625963,-0.090068474411964) * MODEL6_texOff(vec2(-1,1));
res += mat4(-0.109439462423325,0.001554752816446,0.198177799582481,0.022316480055451,-0.098585292696953,0.090592950582504,-0.196717649698257,-0.028647489845753,-0.010074863210320,-0.001004054094665,0.012212034314871,0.010718726553023,0.003009030595422,-0.044904492795467,-0.099086754024029,0.015887051820755) * MODEL6_texOff(vec2(0,-1));
res += mat4(-0.377925127744675,0.045689083635807,-0.054750066250563,0.058996319770813,-0.143147081136703,0.227404072880745,0.066967725753784,0.048108767718077,0.063972115516663,-0.018217211589217,-0.180049210786819,0.069207742810249,-0.076762445271015,0.010309218429029,0.046115644276142,-0.080048955976963) * MODEL6_texOff(vec2(0,0));
res += mat4(-0.052568335086107,0.033842235803604,-0.058399319648743,0.150110751390457,-0.063631996512413,-0.136649191379547,-0.120699845254421,0.172198012471199,-0.109505295753479,0.045355495065451,0.162961706519127,-0.207142174243927,-0.080329388380051,-0.037088930606842,-0.085874795913696,-0.113837637007236) * MODEL6_texOff(vec2(0,1));
res += mat4(0.017340652644634,0.042184278368950,0.070524729788303,-0.001594680827111,-0.067439459264278,0.016425546258688,-0.050333797931671,-0.004075077828020,0.012076113373041,-0.011974407359958,-0.089300945401192,-0.002434666268528,-0.000265399343334,0.077013626694679,-0.063110388815403,0.005877385847270) * MODEL6_texOff(vec2(1,-1));
res += mat4(-0.013951465487480,-0.018086077645421,-0.029784021899104,-0.104520879685879,-0.003336604451761,-0.121942326426506,-0.018253706395626,-0.023539887741208,0.007881244644523,0.009376284666359,0.101844757795334,0.112882792949677,-0.009172223508358,-0.022264288738370,0.022449821233749,-0.020462615415454) * MODEL6_texOff(vec2(1,0));
res += mat4(-0.031163945794106,-0.055185481905937,-0.043760363012552,0.089282616972923,-0.013907958753407,0.047573480755091,0.003241849830374,-0.092761576175690,0.052372872829437,0.008598245680332,-0.021581970155239,0.012282400391996,0.093652538955212,0.060536846518517,-0.001147350645624,-0.199018567800522) * MODEL6_texOff(vec2(1,1));
res = max(res, vec4(0.0)) + vec4(-0.033832512795925,-0.012738113291562,-0.018425548449159,0.141730070114136) * min(res, vec4(0.0));
return res;
}

//!HOOK LUMA
//!WHEN OUTPUT.w LUMA.w 2.200 * > OUTPUT.h LUMA.h 2.200 * > *
//!COMPONENTS 4
//!BIND MODEL1
//!BIND MODEL2
//!BIND MODEL3
//!BIND MODEL4
//!BIND MODEL5
//!BIND MODEL6
//!SAVE MODEL12
//!DESC [AiUpscale_HQ_Sharp_3x_LineArt] mapping 8_6

vec4 hook()
{
vec4 res = vec4(-0.040077429264784,-0.228625625371933,-0.147150084376335,0.136298418045044);
res += mat4(-0.037459939718246,-0.026216953992844,-0.019877228885889,0.008869901299477,0.045102674514055,0.042645737528801,0.004980683326721,0.037026897072792,-0.011296587064862,0.130955994129181,0.031373325735331,0.017584001645446,0.055154222995043,0.005164710339159,-0.006521851290017,-0.018145995214581) * MODEL1_texOff(vec2(-1,-1));
res += mat4(-0.036560703068972,-0.005826337262988,-0.016853099688888,0.056106779724360,0.074236646294594,0.079784616827965,-0.178873792290688,0.006116570904851,0.030478931963444,-0.032198496162891,0.074357964098454,-0.005272014532238,-0.027263294905424,0.093808218836784,0.032232932746410,0.004551893565804) * MODEL1_texOff(vec2(-1,0));
res += mat4(0.016450785100460,0.037173122167587,-0.298719733953476,-0.032596051692963,0.060725174844265,0.056802704930305,0.090375728905201,0.058496940881014,0.035843119025230,0.020822986960411,-0.023940501734614,-0.006109046749771,-0.022946057841182,0.012119669467211,0.046189822256565,0.054822541773319) * MODEL1_texOff(vec2(-1,1));
res += mat4(0.043269474059343,-0.050736434757710,0.093739040195942,0.014917689375579,0.363665938377380,0.199807912111282,0.019371926784515,0.094718709588051,-0.002156845526770,0.060163848102093,0.041757613420486,0.026108123362064,0.067615747451782,0.053017586469650,0.037854176014662,0.000789416488260) * MODEL1_texOff(vec2(0,-1));
res += mat4(-0.210523828864098,-0.192811205983162,0.013690556399524,0.020715007558465,0.035895816981792,-0.116893276572227,-0.139780670404434,0.186247810721397,0.068372301757336,-0.019691146910191,0.026423545554280,-0.031889155507088,0.043981298804283,-0.014703586697578,0.099722996354103,-0.099166274070740) * MODEL1_texOff(vec2(0,0));
res += mat4(-0.092915073037148,0.006025977898389,-0.149231776595116,0.062399975955486,-0.198296904563904,0.063251443207264,-0.030622182413936,-0.133703932166100,0.099653214216232,-0.040434285998344,0.021016536280513,0.013530902564526,-0.079231664538383,0.114106997847557,-0.029793191701174,0.001880112336949) * MODEL1_texOff(vec2(0,1));
res += mat4(0.032821916043758,0.045390449464321,0.039996746927500,-0.000254523649346,0.195362821221352,0.076719410717487,-0.077244110405445,-0.005052356980741,0.210585653781891,0.068639010190964,0.057472601532936,0.103713758289814,-0.032193079590797,0.023846661671996,-0.024678317829967,-0.012194336391985) * MODEL1_texOff(vec2(1,-1));
res += mat4(0.044341478496790,-0.035575255751610,-0.022232597693801,0.011360812000930,0.165892258286476,-0.003848931752145,0.049128815531731,-0.026793884113431,-0.256596952676773,0.050838798284531,-0.019142905250192,-0.109959021210670,0.035449963063002,0.069371908903122,-0.087541006505489,0.171082615852356) * MODEL1_texOff(vec2(1,0));
res += mat4(-0.111300982534885,0.089914403855801,0.062574364244938,-0.011260711587965,0.071537576615810,-0.015269090421498,0.054423231631517,0.011453662998974,0.038615040481091,-0.035772882401943,-0.022889478132129,0.015071826986969,0.049927577376366,-0.007670082151890,-0.151135787367821,0.040498733520508) * MODEL1_texOff(vec2(1,1));
res += mat4(-0.082233317196369,0.081210471689701,0.028232635930181,-0.010853977873921,-0.011513202451169,-0.081856302917004,0.009251021780074,0.034666258841753,0.036088034510612,0.021815298125148,0.006607405841351,0.026180407032371,-0.014682308770716,0.072525784373283,-0.006424135528505,-0.058587860316038) * MODEL2_texOff(vec2(-1,-1));
res += mat4(0.087412774562836,-0.137379229068756,-0.154969424009323,-0.014876107685268,-0.015239791013300,-0.051762245595455,0.055510997772217,0.082152143120766,-0.013065386563540,0.154464185237885,-0.037755664438009,0.009815317578614,-0.001168517745100,0.027047442272305,0.122258760035038,-0.016576586291194) * MODEL2_texOff(vec2(-1,0));
res += mat4(-0.013376516290009,0.029687296599150,-0.118033230304718,-0.076186314225197,0.013632722198963,0.042441666126251,-0.048449818044901,-0.064145252108574,-0.039362903684378,-0.071973711252213,0.152886107563972,0.022301465272903,0.020366182550788,0.017165085300803,0.033117499202490,-0.003976113628596) * MODEL2_texOff(vec2(-1,1));
res += mat4(-0.070506177842617,-0.086647003889084,-0.102072857320309,-0.007948778569698,0.129960641264915,0.055403850972652,-0.116035170853138,0.049048483371735,0.133935734629631,-0.009075083769858,-0.033913120627403,0.031830117106438,0.099266976118088,-0.135246291756630,-0.144615724682808,-0.015361410565674) * MODEL2_texOff(vec2(0,-1));
res += mat4(0.068963959813118,0.143296688795090,-0.301978647708893,0.141028210520744,-0.035295378416777,0.106786169111729,-0.057692509144545,-0.229054778814316,-0.224571511149406,0.145494118332863,-0.104458414018154,-0.159951299428940,-0.202471926808357,0.043254319578409,-0.526049554347992,-0.107092790305614) * MODEL2_texOff(vec2(0,0));
res += mat4(0.033598393201828,0.135936811566353,-0.050710443407297,-0.099611215293407,-0.124908015131950,-0.025625716894865,-0.033413738012314,0.177611038088799,0.085962459445000,-0.200152650475502,0.102597050368786,0.200119942426682,0.002981933532283,0.015076135285199,-0.168669402599335,-0.070589125156403) * MODEL2_texOff(vec2(0,1));
res += mat4(0.097211904823780,0.082675985991955,-0.061009209603071,0.064502753317356,0.055146452039480,-0.077830314636230,-0.034078508615494,-0.027894392609596,0.039937689900398,-0.010412751697004,-0.011257052421570,-0.032554432749748,0.003876004135236,0.040428958833218,-0.006132174283266,-0.032707538455725) * MODEL2_texOff(vec2(1,-1));
res += mat4(-0.139880731701851,0.137954026460648,0.023194763809443,-0.062750108540058,-0.144885152578354,-0.072351388633251,-0.075361438095570,0.228688016533852,0.009969014674425,0.112319268286228,0.007194617763162,0.139949440956116,-0.077439516782761,-0.062619194388390,0.102842234075069,-0.020731167867780) * MODEL2_texOff(vec2(1,0));
res += mat4(-0.117326609790325,-0.015935957431793,-0.001369030447677,0.024467159062624,-0.035930160433054,-0.068818271160126,0.003911832813174,0.018778735771775,0.142561838030815,-0.045697927474976,-0.108946084976196,0.015210280194879,-0.047733116894960,0.013559645973146,0.057913422584534,-0.043066799640656) * MODEL2_texOff(vec2(1,1));
res += mat4(-0.008803186938167,-0.019932676106691,0.008450033143163,0.011202887631953,-0.038818832486868,-0.178029194474220,0.097096361219883,0.033094163984060,0.031847607344389,-0.012580179609358,-0.076596587896347,-0.043648879975080,0.057474404573441,-0.013318262062967,0.031686738133430,-0.028608564287424) * MODEL3_texOff(vec2(-1,-1));
res += mat4(0.025101093575358,-0.067226387560368,-0.015600674785674,-0.025791196152568,0.044710710644722,0.058215767145157,0.241407483816147,0.142482697963715,-0.017972869798541,-0.032329544425011,-0.017515435814857,-0.058119986206293,0.079941771924496,0.029611377045512,0.160888329148293,-0.243757158517838) * MODEL3_texOff(vec2(-1,0));
res += mat4(-0.013849346898496,0.090332403779030,-0.003810893511400,-0.006551530212164,0.012634891085327,0.057887192815542,0.068076573312283,-0.107864156365395,-0.018924102187157,0.033319875597954,0.042458299547434,0.002035493496805,-0.035406798124313,0.026029553264380,0.095436342060566,-0.281780779361725) * MODEL3_texOff(vec2(-1,1));
res += mat4(-0.018424136564136,-0.231315284967422,-0.006041024345905,-0.010574156418443,0.050446890294552,-0.115589506924152,0.097103200852871,0.009744477458298,-0.023251667618752,-0.123591788113117,-0.086733281612396,-0.154837131500244,-0.080204129219055,0.124706350266933,0.043843999505043,0.193709224462509) * MODEL3_texOff(vec2(0,-1));
res += mat4(0.122800961136818,-0.048845946788788,-0.038440357893705,-0.018417071551085,0.033459234982729,-0.092420734465122,0.234377637505531,-0.225297465920448,0.032267924398184,-0.282420456409454,-0.172241583466530,0.247657254338264,-0.008630095981061,0.339882045984268,-0.166654065251350,0.112699039280415) * MODEL3_texOff(vec2(0,0));
res += mat4(-0.074083045125008,0.071859568357468,-0.084567435085773,-0.076695896685123,-0.042412865906954,-0.033886734396219,-0.027713233605027,-0.052676036953926,0.059152532368898,0.113051846623421,-0.154654353857040,-0.054961293935776,0.013654464855790,-0.110065408051014,-0.007004689425230,0.136577352881432) * MODEL3_texOff(vec2(0,1));
res += mat4(0.047321178019047,-0.207288518548012,-0.026533111929893,-0.016966000199318,0.041672118008137,-0.004453639034182,-0.058783877640963,-0.000868462433573,-0.269064128398895,-0.070487543940544,-0.087594389915466,-0.127083823084831,0.055731680244207,-0.106273390352726,-0.047835264354944,0.109229795634747) * MODEL3_texOff(vec2(1,-1));
res += mat4(-0.015050732530653,-0.077231906354427,0.047022473067045,-0.087773710489273,-0.014046507887542,-0.046398349106312,-0.027580795809627,0.088721193373203,0.361738294363022,-0.277586191892624,-0.014935567043722,-0.009857210330665,0.136912077665329,0.092889994382858,-0.100313298404217,-0.079667106270790) * MODEL3_texOff(vec2(1,0));
res += mat4(-0.190915778279305,0.052760776132345,0.013099652715027,-0.030813422054052,0.019604394212365,-0.023838980123401,-0.032358288764954,-0.012678732164204,-0.032680831849575,-0.046344250440598,-0.069433428347111,0.102436721324921,0.167570814490318,-0.110991209745407,-0.122694522142410,0.074508972465992) * MODEL3_texOff(vec2(1,1));
res += mat4(0.062387559562922,0.087191015481949,0.059366762638092,-0.034779999405146,-0.004669014830142,0.011862160637975,-0.035636357963085,-0.009198208339512,-0.104919642210007,-0.024992732331157,-0.045788787305355,-0.004699552897364,0.011125097982585,-0.033433943986893,-0.041069775819778,-0.021022383123636) * MODEL4_texOff(vec2(-1,-1));
res += mat4(0.042935963720083,-0.137040257453918,0.144546762108803,0.048338815569878,0.018466098234057,0.035286951810122,-0.038427446037531,0.019279822707176,0.027071222662926,-0.025095170363784,-0.062141455709934,-0.117667987942696,0.006665767170489,0.046336866915226,0.041787665337324,0.009527138434350) * MODEL4_texOff(vec2(-1,0));
res += mat4(0.026398554444313,0.042479649186134,0.019378341734409,-0.068559512495995,0.030143419280648,-0.064052209258080,-0.083412222564220,0.052456315606833,-0.042451690882444,-0.008565520867705,-0.089739881455898,0.006665011402220,-0.010392437689006,0.002481984440237,-0.012114468030632,0.003598887473345) * MODEL4_texOff(vec2(-1,1));
res += mat4(0.175168395042419,0.085768222808838,0.027627600356936,-0.019334012642503,0.040619514882565,-0.138376414775848,-0.006338907871395,0.018007420003414,-0.061033818870783,-0.096409529447556,0.032246615737677,0.027967492118478,0.021323321387172,-0.350498974323273,0.057418562471867,0.012040668167174) * MODEL4_texOff(vec2(0,-1));
res += mat4(-0.317270010709763,-0.165823727846146,0.125545829534531,0.005700167268515,-0.196144074201584,0.126249253749847,0.255420506000519,0.153466731309891,-0.363177508115768,0.075089573860168,0.214844703674316,0.061665341258049,-0.074734367430210,0.142385095357895,-0.150744318962097,-0.163069128990173) * MODEL4_texOff(vec2(0,0));
res += mat4(-0.244516044855118,0.119386427104473,0.125906527042389,-0.084407851099968,0.035470701754093,-0.052744954824448,0.120398767292500,0.029960690066218,0.192461490631104,0.019443351775408,-0.131455644965172,-0.000968743755948,-0.029726838693023,-0.055261079221964,-0.037955917418003,-0.019266562536359) * MODEL4_texOff(vec2(0,1));
res += mat4(0.074397876858711,0.113954015076160,-0.080379575490952,-0.015864634886384,-0.071603983640671,0.066522970795631,0.023114953190088,-0.042992956936359,-0.034311704337597,-0.076587259769440,-0.018812462687492,-0.019254645332694,0.040682248771191,-0.114206157624722,0.155928865075111,0.000337986712111) * MODEL4_texOff(vec2(1,-1));
res += mat4(-0.070121951401234,-0.008369144052267,-0.077009722590446,0.031616035848856,0.119727060198784,-0.243185758590698,0.164136007428169,-0.158394768834114,0.079914405941963,-0.078478835523129,0.059914026409388,-0.078361928462982,-0.290393531322479,0.192523851990700,-0.302665412425995,0.012334605678916) * MODEL4_texOff(vec2(1,0));
res += mat4(0.035683725029230,-0.121266931295395,-0.024650786072016,0.017218664288521,-0.055050119757652,0.080449871718884,0.119503341615200,-0.099747732281685,-0.219023853540421,0.099703371524811,0.033400241285563,-0.007059882394969,-0.150456547737122,0.040983710438013,0.072626605629921,-0.040047932416201) * MODEL4_texOff(vec2(1,1));
res += mat4(-0.052929382771254,0.139351949095726,0.020956911146641,-0.112673014402390,-0.006636386737227,-0.091731198132038,0.000344205414876,0.002710904460400,0.016259167343378,-0.002075654454529,-0.043171141296625,0.039972141385078,0.013612732291222,0.005501170642674,-0.042887248098850,0.033331871032715) * MODEL5_texOff(vec2(-1,-1));
res += mat4(0.032001897692680,-0.218532457947731,-0.001126522547565,0.024377968162298,0.012148631736636,0.144822418689728,0.122363790869713,0.051717404276133,0.000331813556841,0.053516801446676,0.068844892084599,0.021300675347447,0.103667043149471,-0.039988905191422,-0.119135700166225,0.116603441536427) * MODEL5_texOff(vec2(-1,0));
res += mat4(-0.042947635054588,-0.078797757625580,0.048681326210499,0.037726860493422,-0.014113793149590,0.104227587580681,-0.031256828457117,-0.035344686359167,-0.002022396773100,-0.053098641335964,-0.042718239128590,-0.032898414880037,-0.017821524292231,0.084319464862347,-0.034921281039715,-0.050174333155155) * MODEL5_texOff(vec2(-1,1));
res += mat4(-0.024537470191717,0.142185389995575,-0.021819680929184,-0.280466705560684,0.097979374229908,-0.211852177977562,0.018097242340446,-0.002461781725287,-0.040588576346636,-0.381392598152161,-0.024531785398722,0.031706593930721,0.049637623131275,0.016825843602419,0.074320457875729,0.008952269330621) * MODEL5_texOff(vec2(0,-1));
res += mat4(0.140144810080528,-0.195414751768112,0.114254795014858,0.488966047763824,-0.065979741513729,0.348838895559311,-0.278624325990677,0.156210973858833,0.130395486950874,-0.130046844482422,-0.066308081150055,0.063675366342068,-0.315563559532166,-0.256267160177231,0.095513537526131,-0.112392127513885) * MODEL5_texOff(vec2(0,0));
res += mat4(0.046185649931431,-0.158987730741501,0.090648651123047,-0.184055119752884,0.133975937962532,0.190753966569901,0.010892862454057,-0.357559055089951,0.026037238538265,-0.108415938913822,-0.080742910504341,0.065920583903790,0.185832798480988,0.076727330684662,0.099201634526253,0.069058232009411) * MODEL5_texOff(vec2(0,1));
res += mat4(-0.062268860638142,0.011704310774803,0.061009455472231,-0.036071825772524,0.026011843234301,-0.024038759991527,0.047976594418287,-0.007656203582883,-0.128720238804817,-0.246778666973114,0.026892878115177,0.006716477219015,0.035284318029881,0.037528116255999,-0.023037558421493,0.027109788730741) * MODEL5_texOff(vec2(1,-1));
res += mat4(0.039852444082499,-0.034975405782461,0.009892403148115,-0.063936375081539,0.017385924234986,0.168359786272049,0.070029325783253,0.098003178834915,0.189954608678818,-0.059417776763439,-0.077780939638615,0.179544031620026,-0.159242853522301,-0.016986593604088,-0.011632794514298,-0.035163033753633) * MODEL5_texOff(vec2(1,0));
res += mat4(-0.024492176249623,-0.007531059440225,0.011939965188503,0.004898662213236,0.161688163876534,-0.010332164354622,0.008862706832588,-0.054216895252466,-0.081844605505466,-0.136614486575127,-0.126726731657982,0.012889252044261,0.135457575321198,-0.028775127604604,-0.021328596398234,0.050584305077791) * MODEL5_texOff(vec2(1,1));
res += mat4(0.072819016873837,0.021862743422389,0.018709419295192,0.083235949277878,0.070893339812756,-0.095563769340515,-0.012790252454579,0.030892988666892,0.047938976436853,0.052014932036400,0.013478840701282,0.030240269377828,0.031728725880384,-0.010465868748724,0.017967678606510,0.026087138801813) * MODEL6_texOff(vec2(-1,-1));
res += mat4(0.004524814430624,-0.052176482975483,0.057780310511589,0.156781807541847,-0.078514836728573,0.056596823036671,-0.089243404567242,-0.210156857967377,-0.003890369087458,0.106536492705345,0.062829971313477,-0.032352317124605,0.145604670047760,-0.014004962518811,-0.157570272684097,-0.048724304884672) * MODEL6_texOff(vec2(-1,0));
res += mat4(-0.002287536161020,-0.030501417815685,-0.027763996273279,0.078152589499950,-0.041483134031296,-0.009208436124027,0.013672454282641,0.029181960970163,-0.072348497807980,0.042625125497580,0.127220496535301,0.061561029404402,-0.059177629649639,0.117202639579773,0.042118392884731,-0.058300077915192) * MODEL6_texOff(vec2(-1,1));
res += mat4(-0.106881663203239,0.134475663304329,0.015816716477275,0.141123667359352,-0.026258975267410,-0.181281566619873,0.168336421251297,-0.030452050268650,-0.031491391360760,0.082065984606743,0.030976274982095,0.024613767862320,-0.075772263109684,-0.010918812826276,-0.099612243473530,-0.023008627817035) * MODEL6_texOff(vec2(0,-1));
res += mat4(-0.061037693172693,0.157512813806534,0.087360322475433,-0.314157187938690,0.009047875180840,0.031526781618595,0.519294500350952,0.040562339127064,0.072865098714828,-0.081327378749847,-0.013012846000493,-0.157034650444984,0.075494632124901,-0.011608859524131,-0.191240549087524,0.027660273015499) * MODEL6_texOff(vec2(0,0));
res += mat4(0.217765018343925,-0.047294460237026,-0.022749496623874,0.229610234498978,-0.133449718356133,0.146505475044250,0.229535192251205,-0.088104017078876,-0.150089085102081,-0.017856003716588,0.117601707577705,0.065098159015179,-0.202772170305252,0.073718696832657,-0.210180222988129,-0.112718731164932) * MODEL6_texOff(vec2(0,1));
res += mat4(-0.118518792092800,0.005284620914608,0.018864583224058,0.017314873635769,-0.025828488171101,-0.031021382659674,0.080096274614334,0.013323470018804,-0.069838315248489,0.074165575206280,0.057729724794626,0.006090482696891,-0.053365338593721,0.016417685896158,0.077997684478760,-0.008345502428710) * MODEL6_texOff(vec2(1,-1));
res += mat4(-0.012108610011637,-0.036370486021042,-0.026498550549150,0.062483169138432,-0.054055489599705,0.037536717951298,-0.036374170333147,0.066973179578781,-0.029958179220557,0.042844444513321,0.028098748996854,-0.025392841547728,0.079092778265476,0.069389402866364,-0.044456146657467,0.009421460330486) * MODEL6_texOff(vec2(1,0));
res += mat4(-0.053688328713179,-0.063692942261696,0.016475483775139,0.059257879853249,-0.049321521073580,0.024313978850842,0.013942052610219,-0.005689467303455,-0.216744810342789,0.011631927452981,-0.036018334329128,0.003393253544345,-0.127937778830528,0.004183045588434,-0.024418622255325,0.018378065899014) * MODEL6_texOff(vec2(1,1));
res = max(res, vec4(0.0)) + vec4(0.034352019429207,-0.007308652624488,-0.048999652266502,0.923380613327026) * min(res, vec4(0.0));
return res;
}

//!HOOK LUMA
//!WHEN OUTPUT.w LUMA.w 2.200 * > OUTPUT.h LUMA.h 2.200 * > *
//!COMPONENTS 4
//!BIND MODEL7
//!BIND MODEL8
//!BIND MODEL9
//!BIND MODEL10
//!BIND MODEL11
//!BIND MODEL12
//!SAVE SUBCONV1
//!DESC [AiUpscale_HQ_Sharp_3x_LineArt] sub-pixel convolution 1

vec4 hook()
{
vec3 res = vec3(0.001544275321066,0.000945491017774,-0.000138465999044);
res += mat4x3(-0.000288184470264,0.002651656279340,0.001223077997565,-0.000957787327934,-0.002645942848176,-0.001237885211594,-0.010861734859645,-0.005414403509349,0.001951232203282,-0.002256417879835,-0.000816902203951,0.000471281877253) * MODEL7_texOff(vec2(-1,-1));
res += mat4x3(0.005957505200058,-0.000043158666813,-0.002279977779835,0.010982482694089,0.013583447784185,0.007739048916847,0.000562528031878,0.017827760428190,0.011255867779255,-0.006416613701731,-0.005789887625724,-0.004588449839503) * MODEL7_texOff(vec2(-1,0));
res += mat4x3(-0.000197921923245,0.004826741758734,0.010328908450902,-0.001241183956154,-0.001106995390728,0.002540503861383,0.001080948743038,-0.002934042131528,-0.005546447355300,0.003302270779386,0.001985031645745,-0.001502911094576) * MODEL7_texOff(vec2(-1,1));
res += mat4x3(0.007492163218558,0.009829833172262,0.004937744233757,0.000066394124588,-0.005240062717348,-0.003466503228992,-0.012257473543286,0.007936889305711,0.000753054919187,-0.014716775156558,-0.002476245863363,0.001666120253503) * MODEL7_texOff(vec2(0,-1));
res += mat4x3(-0.029151564463973,-0.030284175649285,-0.007219764869660,-0.004432682413608,0.005719417240471,0.007623623125255,0.034044727683067,0.012101753614843,-0.039526097476482,-0.029304457828403,-0.037623453885317,-0.034079216420650) * MODEL7_texOff(vec2(0,0));
res += mat4x3(0.007575899828225,0.007610071450472,-0.005960559006780,-0.000315606303047,-0.004712797701359,-0.007567600347102,-0.001580230775289,-0.005187106318772,0.002718314761296,0.000682636047713,-0.002747345948592,-0.011578278616071) * MODEL7_texOff(vec2(0,1));
res += mat4x3(0.000206582379178,-0.002023770473897,-0.002211463637650,-0.001276042312384,-0.001214498886839,-0.000420397525886,0.000271005585091,0.001962671522051,0.003256031079218,0.001078652683645,0.001812999718823,0.001378918997943) * MODEL7_texOff(vec2(1,-1));
res += mat4x3(0.005153751466423,0.006248480640352,0.004543115384877,0.004030525684357,0.004543012473732,0.000985028571449,-0.000836541876197,-0.005245439242572,0.000010939465938,0.003419421380386,0.002810469362885,0.003209983697161) * MODEL7_texOff(vec2(1,0));
res += mat4x3(-0.000361999293091,0.000468125799671,0.003560978919268,0.000351029622834,0.000208600366022,0.002213509054855,-0.000068878121965,-0.000605591572821,0.001693626632914,0.000671401561704,0.001301095820963,0.001682090456598) * MODEL7_texOff(vec2(1,1));
res += mat4x3(0.001769244554453,-0.002472821157426,-0.000845910573844,-0.005185102578253,-0.007141837384552,-0.003188783070073,0.006652351934463,-0.002509267069399,-0.000870512740221,0.001037526060827,0.003668795339763,0.000069026442361) * MODEL8_texOff(vec2(-1,-1));
res += mat4x3(-0.005842557642609,-0.002698946977034,0.007309534121305,-0.005104223731905,0.023595718666911,0.016892060637474,-0.004815426655114,-0.012967102229595,0.004759787581861,0.020165758207440,-0.009984088130295,-0.009607557207346) * MODEL8_texOff(vec2(-1,0));
res += mat4x3(-0.002835260704160,-0.001548283151351,0.009449806995690,0.000480122165754,0.000842189532705,-0.005909302271903,0.000842558161821,0.000157954811584,0.004504719283432,0.001107449876145,-0.003423281479627,-0.006825938820839) * MODEL8_texOff(vec2(-1,1));
res += mat4x3(-0.004653766751289,-0.001809931709431,-0.000574981968384,0.013620331883430,0.000311500480166,-0.001395131228492,-0.009786935523152,0.005035087000579,0.003343502990901,-0.000267643044936,-0.003801190992817,0.000470414903248) * MODEL8_texOff(vec2(0,-1));
res += mat4x3(-0.036933187395334,0.015891060233116,0.009991850703955,-0.019287707284093,-0.014817591756582,0.019641024991870,0.031883101910353,0.004030144307762,-0.027704015374184,0.006385696120560,-0.028088366612792,0.026458255946636) * MODEL8_texOff(vec2(0,0));
res += mat4x3(-0.004666274413466,0.011874870397151,0.005045761354268,-0.001352502033114,0.001080759335309,0.002272620797157,-0.001650934806094,-0.004507566802204,0.009927384555340,0.000467390374979,-0.002991870045662,0.010536168701947) * MODEL8_texOff(vec2(0,1));
res += mat4x3(-0.000850925222039,0.000132280751131,0.000029493521652,-0.002609109040350,-0.003144998801872,-0.000287937116809,0.001716243801638,0.000635560660157,-0.001765630673617,0.001629100646824,0.000154043984367,0.000336497148965) * MODEL8_texOff(vec2(1,-1));
res += mat4x3(-0.001651248312555,0.001266586245038,0.001353429746814,0.000885225541424,-0.000250267126830,-0.002722787205130,0.001740898238495,0.005029583349824,0.001199687831104,0.002762056654319,-0.001152795623057,-0.000846422626637) * MODEL8_texOff(vec2(1,0));
res += mat4x3(0.001800998230465,-0.000519243185408,0.001188276801258,0.002533019753173,0.000539942353498,-0.002757784444839,-0.002340249484405,-0.001701043220237,-0.001596973859705,0.001427176641300,0.001778939971700,-0.004170345142484) * MODEL8_texOff(vec2(1,1));
res += mat4x3(-0.019068647176027,-0.008557795546949,-0.001407860196196,-0.006995537318289,0.001550010638312,0.003364400239661,-0.001016920548864,-0.000046024222684,-0.000170592524228,0.008624797686934,0.004789021797478,0.000995395472273) * MODEL9_texOff(vec2(-1,-1));
res += mat4x3(-0.009080689400434,-0.021504990756512,-0.028394987806678,0.000506298092660,0.013376033864915,-0.003977621439844,0.015967266634107,0.008139874786139,0.001514539937489,-0.002161450451240,-0.001756622106768,0.005440906621516) * MODEL9_texOff(vec2(-1,0));
res += mat4x3(-0.000077552649600,0.001255886512809,0.000935706309974,-0.000276805454632,-0.000419603573391,-0.000188637000974,-0.005514297634363,0.001625504228286,0.009446999989450,0.000067597167799,-0.000231630066992,-0.003312740707770) * MODEL9_texOff(vec2(-1,1));
res += mat4x3(-0.006468024104834,0.000533335900400,0.001481897663325,0.007874395698309,0.009006583131850,0.002028823364526,-0.001129022566602,0.000469583115773,0.002182311844081,0.000162926546182,0.009389694780111,0.003129049902782) * MODEL9_texOff(vec2(0,-1));
res += mat4x3(-0.015590942464769,-0.021770745515823,-0.018561922013760,0.020841628313065,0.003954661078751,-0.038894895464182,0.021652197465301,0.016830366104841,0.005481226835400,-0.023541534319520,-0.033798787742853,-0.018913792446256) * MODEL9_texOff(vec2(0,0));
res += mat4x3(0.001463801949285,0.001224998617545,-0.001609978033230,-0.003839793847874,-0.005839384160936,-0.001737951650284,-0.001361485803500,0.001222655293532,0.010159365832806,0.004826549906284,0.003571350593120,-0.005212731659412) * MODEL9_texOff(vec2(0,1));
res += mat4x3(0.002252016915008,0.000474642438348,-0.000756643887144,0.000239423708990,-0.000024584946004,-0.002100889571011,-0.000405776518164,0.000252316152910,-0.000311229901854,-0.001574648194946,-0.001903337077238,-0.002058167941868) * MODEL9_texOff(vec2(1,-1));
res += mat4x3(0.002150926040486,0.003152326215059,0.003706920892000,-0.003395868232474,0.002066684421152,-0.000702069315594,0.002871680073440,0.001094583538361,-0.000353857147275,0.003538246499375,0.001149145304225,0.001235320931301) * MODEL9_texOff(vec2(1,0));
res += mat4x3(0.000738364644349,0.001250598346815,0.001825224608183,-0.000176605331944,0.001347751123831,0.001831103698350,-0.002291199285537,-0.001317398971878,0.001233726623468,0.004244301002473,0.007217960432172,0.006462146062404) * MODEL9_texOff(vec2(1,1));
res += mat4x3(-0.001085770083591,0.003579645184800,0.003762108739465,0.000596278114244,-0.002403855090961,-0.000741939293221,-0.002128622727469,-0.003659574780613,-0.000303596723825,-0.003851235145703,-0.004589078947902,-0.002182883676142) * MODEL10_texOff(vec2(-1,-1));
res += mat4x3(0.006963539868593,-0.005896278191358,-0.008373340591788,-0.015164219774306,0.022541999816895,0.013019719161093,-0.012195371091366,-0.000165047211340,0.014497804455459,-0.004553618840873,-0.002227111253887,-0.003073773114011) * MODEL10_texOff(vec2(-1,0));
res += mat4x3(-0.000167885431438,-0.001285183941945,0.004077570978552,0.007868678309023,-0.003711407305673,-0.032024227082729,0.000105465878733,0.000865495589096,0.004214805085212,-0.000319337705150,-0.002920286264271,-0.005045169964433) * MODEL10_texOff(vec2(-1,1));
res += mat4x3(-0.011408965103328,0.000402628036682,0.003008707426488,0.001190960407257,0.001848545856774,0.001745001762174,0.019982337951660,-0.004764413461089,-0.003857494564727,0.010912187397480,0.001872569089755,-0.002717417431995) * MODEL10_texOff(vec2(0,-1));
res += mat4x3(-0.007703501731157,0.032935600727797,-0.006482979748398,-0.013816687278450,-0.014075545594096,-0.001316809328273,0.013759493827820,-0.030983841046691,0.006814981345087,0.010659800842404,0.020857587456703,0.023222049698234) * MODEL10_texOff(vec2(0,0));
res += mat4x3(0.002261580433697,0.009302261285484,-0.027504835277796,0.002869773190469,0.010773780755699,0.007872893474996,-0.002031415700912,-0.002745401347056,0.010382397100329,0.002003952162340,0.001407028874382,0.003875729395077) * MODEL10_texOff(vec2(0,1));
res += mat4x3(-0.002763901604339,-0.000310542236548,0.000896080164239,0.000272810138995,-0.000434159184806,-0.000377229822334,-0.000371832953533,0.001357052708045,-0.000971163623035,-0.001682566828094,-0.001778355566785,-0.000980711192824) * MODEL10_texOff(vec2(1,-1));
res += mat4x3(-0.004975116811693,-0.000058091227402,0.003373339772224,-0.000490034581162,0.000819067063276,0.001962745329365,-0.000952566391788,0.002078419085592,-0.003682240378112,-0.002110866364092,-0.001762052066624,-0.002073026960716) * MODEL10_texOff(vec2(1,0));
res += mat4x3(0.001668184762821,-0.001573918620124,0.003858526702970,-0.000363630912034,-0.001555241644382,0.000160203620908,-0.000769876060076,-0.000316744553857,-0.001770656555891,-0.000899242761079,-0.001842812052928,-0.001672711106949) * MODEL10_texOff(vec2(1,1));
res += mat4x3(-0.003700299654156,-0.002772333566099,-0.002069092355669,0.001525954809040,0.000967097410467,-0.000810478290077,0.001017633010633,-0.002155849011615,-0.001270248671062,-0.001294678775594,0.009613417088985,0.005797120276839) * MODEL11_texOff(vec2(-1,-1));
res += mat4x3(-0.002471399260685,-0.002180170733482,-0.002910859184340,0.012648687697947,-0.003485266352072,-0.008707834407687,0.003377485089004,0.003637906862423,0.002235841704533,0.007552532944828,-0.004340076353401,-0.017612369731069) * MODEL11_texOff(vec2(-1,0));
res += mat4x3(0.000499513291288,-0.000532823847607,0.000334901589667,-0.001606731326319,-0.001642393646762,0.004372136667371,0.001909448881634,-0.000805397343356,-0.004336111247540,-0.002001183573157,-0.001815238385461,0.000660230522044) * MODEL11_texOff(vec2(-1,1));
res += mat4x3(0.017741344869137,0.009520910680294,0.001908738166094,0.013834653422236,-0.000061172446294,-0.001877618255094,0.004719592165202,-0.003423887770623,-0.005084165837616,-0.006621435750276,-0.003139381296933,0.001615431741811) * MODEL11_texOff(vec2(0,-1));
res += mat4x3(0.015435658395290,0.024485653266311,0.027514468878508,-0.031610894948244,-0.036345936357975,0.014756917022169,-0.023116061463952,0.006085940636694,0.010611292906106,0.006539375986904,0.013024159707129,0.004889252595603) * MODEL11_texOff(vec2(0,0));
res += mat4x3(0.000924156978726,0.001756828161888,0.006690465379506,-0.005432274192572,0.008634245954454,0.019004845991731,0.007761591579765,0.018773006275296,-0.018688511103392,-0.001697601401247,-0.003656552638859,-0.000114687085443) * MODEL11_texOff(vec2(0,1));
res += mat4x3(0.000360828213161,-0.000835929298773,0.000164292418049,0.006365546490997,0.001325115445070,-0.000071550624853,0.000336438737577,0.000064747393481,0.000585656380281,-0.000836937979329,0.000839455868118,0.000635265780147) * MODEL11_texOff(vec2(1,-1));
res += mat4x3(0.006618180312216,0.005811665672809,0.003651130245999,-0.005094147752970,0.003908368758857,0.005792801734060,0.001756272860803,-0.000930264068302,0.002390479668975,-0.001701983273961,-0.002636454300955,-0.002686042571440) * MODEL11_texOff(vec2(1,0));
res += mat4x3(-0.001781855593435,-0.000358853401849,0.001285773585550,-0.000066533815698,0.000815744278952,-0.007174537517130,-0.001623891526833,-0.000844143447466,0.003673040540889,0.000667901767883,0.000584313704167,-0.000126958417241) * MODEL11_texOff(vec2(1,1));
res += mat4x3(0.004133029375225,-0.012481102719903,-0.002981820376590,-0.001507141976617,0.001342279603705,0.000838770356495,0.005617269780487,0.004091265145689,0.001971906516701,-0.003656021552160,-0.001627432298847,-0.001771391718648) * MODEL12_texOff(vec2(-1,-1));
res += mat4x3(-0.010401258245111,-0.002538093365729,0.021688377484679,0.002342754509300,0.002231565536931,-0.006606520153582,0.005743654444814,0.007695012260228,0.010153452865779,-0.009885157458484,-0.009845373220742,-0.008449520915747) * MODEL12_texOff(vec2(-1,0));
res += mat4x3(0.001914844964631,0.001556796138175,-0.002543089445680,0.000964225211646,-0.001791847636923,-0.011738168075681,0.000756774621550,-0.000450625229860,-0.000391431705793,0.000341889099218,-0.002673129085451,-0.007945577614009) * MODEL12_texOff(vec2(-1,1));
res += mat4x3(0.008274392224848,-0.002463983604684,-0.006536379922181,-0.002622056519613,0.003182972082868,0.002732619876042,0.003749441355467,-0.001640052767470,-0.003193079261109,0.020649140700698,0.003703805850819,-0.002749333623797) * MODEL12_texOff(vec2(0,-1));
res += mat4x3(-0.004749232903123,-0.008098658174276,0.001992186065763,0.037676639854908,-0.004195415414870,-0.014936216175556,0.001452686032280,0.006914422847331,0.008130475878716,0.000697870855220,0.015770446509123,0.026134502142668) * MODEL12_texOff(vec2(0,0));
res += mat4x3(0.001820572302677,0.003273047739640,0.000134621164761,0.000261080247583,-0.011859872378409,-0.000869253766723,-0.001109024276957,-0.002258348977193,-0.002090827561915,0.003244070103392,0.000502491719089,-0.006401971448213) * MODEL12_texOff(vec2(0,1));
res += mat4x3(0.001400051754899,-0.000917019555345,-0.000836819875985,-0.000396926800022,0.001660070614889,0.001069916295819,-0.001726077287458,-0.000370585941710,0.001082624075934,-0.003558570286259,-0.002534390427172,-0.001246284344234) * MODEL12_texOff(vec2(1,-1));
res += mat4x3(-0.000126192811877,0.001983243972063,0.002790401689708,-0.001435450976714,-0.002258437452838,-0.001231254544109,-0.003495601238683,-0.003174870042130,-0.004877490457147,-0.003533882321790,-0.004347372800112,-0.006312021054327) * MODEL12_texOff(vec2(1,0));
res += mat4x3(-0.000875165394973,-0.000824222050142,-0.000196267777937,-0.000377165066311,0.000325820146827,-0.002122208941728,0.001788041670807,0.000216036161873,-0.002286911243573,-0.000001898974688,-0.001262377598323,-0.003289527026936) * MODEL12_texOff(vec2(1,1));
return vec4(res, 0);
}

//!HOOK LUMA
//!WHEN OUTPUT.w LUMA.w 2.200 * > OUTPUT.h LUMA.h 2.200 * > *
//!COMPONENTS 4
//!BIND MODEL7
//!BIND MODEL8
//!BIND MODEL9
//!BIND MODEL10
//!BIND MODEL11
//!BIND MODEL12
//!SAVE SUBCONV2
//!DESC [AiUpscale_HQ_Sharp_3x_LineArt] sub-pixel convolution 2

vec4 hook()
{
vec3 res = vec3(-0.000227572672884,0.000763714953791,-0.000788924808148);
res += mat4x3(-0.002395732328296,0.001530599314719,0.001148876384832,-0.003153776517138,-0.000781371723861,0.000536445062608,-0.005613618064672,0.003043073695153,0.001013101078570,-0.002552638296038,-0.001463646884076,-0.001444446388632) * MODEL7_texOff(vec2(-1,-1));
res += mat4x3(0.006432265974581,0.001718124956824,-0.003134978935122,-0.007427553180605,-0.005254403222352,-0.003430019831285,0.008643895387650,0.002968003507704,-0.007602264638990,-0.005915271118283,-0.005160267930478,-0.004489047452807) * MODEL7_texOff(vec2(-1,0));
res += mat4x3(-0.001531048095785,0.000045194770792,0.005781917832792,-0.000509371166117,-0.002288234420121,-0.005978429224342,0.000235317478655,0.001318313181400,0.004415408708155,0.001179538434371,-0.000127994004288,-0.001920564565808) * MODEL7_texOff(vec2(-1,1));
res += mat4x3(0.004813303705305,0.010827634483576,0.006789343431592,-0.000313299096888,-0.006075028330088,-0.003664430230856,0.021663649007678,0.005286249332130,-0.004288778174669,0.011077801696956,0.005437688436359,0.000032614785596) * MODEL7_texOff(vec2(0,-1));
res += mat4x3(-0.024200359359384,-0.030996304005384,-0.012277904897928,0.013809728436172,0.023162437602878,0.014896047301590,0.006821574643254,-0.034876000136137,-0.015748189762235,0.014868943952024,0.018805718049407,0.018837075680494) * MODEL7_texOff(vec2(0,0));
res += mat4x3(0.006607382092625,0.008965747430921,-0.000684211845510,-0.002388803754002,-0.004457355942577,0.000625887420028,-0.003660877933726,-0.001694443984888,0.012294925749302,0.000371173489839,0.001800303114578,0.007032049819827) * MODEL7_texOff(vec2(0,1));
res += mat4x3(0.003858597949147,-0.001814795890823,-0.003132968908176,-0.002959766658023,-0.002581454580650,-0.001261722529307,0.002592053264380,0.001731589785777,0.001367749413475,0.002432010602206,0.001239127479494,-0.000755020591896) * MODEL7_texOff(vec2(1,-1));
res += mat4x3(0.002565573900938,0.005048722960055,0.007691966835409,0.001784528722055,0.002929846756160,-0.000845040311106,-0.011526895686984,-0.000863193301484,0.010916990227997,0.008311871439219,0.008764729835093,0.007790156174451) * MODEL7_texOff(vec2(1,0));
res += mat4x3(0.001643047435209,0.002619758248329,0.002187736565247,-0.000414010632085,-0.001973211532459,-0.001062299474142,-0.000378598546376,0.001799883204512,0.000428804516559,-0.000425925973104,0.001708361553028,0.003806395921856) * MODEL7_texOff(vec2(1,1));
res += mat4x3(0.002147176768631,-0.000817202497274,-0.000038817743189,0.009609640575945,0.001007004175335,-0.000116005343443,0.000705180747900,-0.000542772817425,-0.001956887776032,-0.003963902126998,0.004310231655836,-0.000139708063216) * MODEL8_texOff(vec2(-1,-1));
res += mat4x3(-0.001495342119597,-0.000582519453019,0.003105461364612,-0.009424113668501,-0.002653924282640,0.013137472793460,0.006130917929113,-0.002286191098392,-0.005836630705744,0.006783475168049,-0.000278795050690,-0.006885793525726) * MODEL8_texOff(vec2(-1,0));
res += mat4x3(0.000090085763077,-0.000282512832200,0.002066612709314,0.000398267293349,0.001654675230384,-0.001619826885872,0.000287492497591,0.001141599612311,0.003419974120334,0.000118865413242,-0.001547074527480,-0.003290753113106) * MODEL8_texOff(vec2(-1,1));
res += mat4x3(-0.004799484740943,-0.001939572626725,-0.000664851162583,0.002998592797667,0.010264954529703,0.002501358045265,-0.015259023755789,-0.002871365984902,0.003339381888509,0.009525193832815,-0.005616113543510,0.000688560074195) * MODEL8_texOff(vec2(0,-1));
res += mat4x3(-0.037536267191172,0.008346186019480,0.012300535105169,0.009476775303483,-0.025036720559001,-0.028375342488289,0.005361654795706,0.030331004410982,0.004584163893014,0.028662052005529,-0.039968881756067,0.019325274974108) * MODEL8_texOff(vec2(0,0));
res += mat4x3(-0.007351257372648,0.010876149870455,0.017714777961373,-0.004080875311047,-0.002450441941619,0.012223789468408,0.000503574265167,-0.005525260698050,-0.013033360242844,0.000896010373253,-0.008766298182309,0.005447332747281) * MODEL8_texOff(vec2(0,1));
res += mat4x3(-0.001101573347114,-0.000949688430410,-0.000452199601568,-0.000965710962191,-0.002076826291159,-0.002315993886441,0.001088216784410,0.000139063922688,0.000434785732068,-0.001925721764565,0.000750665902160,-0.000411372020608) * MODEL8_texOff(vec2(1,-1));
res += mat4x3(-0.007753666955978,0.006511349231005,0.003291178960353,-0.001158489380032,0.005574179813266,0.002184492768720,-0.006283073686063,-0.002061459934339,0.003825609572232,-0.003857983974740,-0.001838059164584,0.001717302831821) * MODEL8_texOff(vec2(1,0));
res += mat4x3(0.002241553971544,0.001487159170210,-0.002626172732562,0.003195799654350,0.003187348134816,-0.001577039365657,-0.002552526304498,-0.001984146190807,-0.000995434005745,0.001772463321686,0.002914659213275,-0.004087603650987) * MODEL8_texOff(vec2(1,1));
res += mat4x3(0.001543672638945,0.000173902910319,-0.001314977300353,-0.001848043291830,-0.000695046910550,0.001995036145672,0.001398548833095,0.001836299081333,0.000864566769451,-0.003915014676750,0.001176206627861,0.003009827341884) * MODEL9_texOff(vec2(-1,-1));
res += mat4x3(-0.007294828072190,-0.004978949204087,-0.000000889408284,-0.001019259914756,0.003783779218793,0.002764794975519,-0.013563063926995,-0.011977213434875,-0.005067299120128,-0.003464901354164,-0.005426787771285,-0.007228382863104) * MODEL9_texOff(vec2(-1,0));
res += mat4x3(0.000609631475527,-0.001211510272697,-0.005306910723448,-0.000267882249318,-0.000308399903588,0.000751379586291,0.000466417870484,-0.001580913318321,-0.007427118718624,0.000434396468336,-0.000695512047969,-0.001479760394432) * MODEL9_texOff(vec2(-1,1));
res += mat4x3(0.013392973691225,0.006229192018509,-0.001435554586351,-0.003041019430384,0.010882282629609,0.002357855904847,0.000026214953323,-0.000103588747152,-0.002953256014735,-0.022013988345861,-0.009962605312467,0.000982025172561) * MODEL9_texOff(vec2(0,-1));
res += mat4x3(0.000235941959545,0.008903615176678,0.017086166888475,0.016361169517040,0.018742252141237,-0.039536859840155,-0.046276114881039,-0.034700974822044,-0.012009076774120,0.023004241287708,0.005017660092562,-0.017205361276865) * MODEL9_texOff(vec2(0,0));
res += mat4x3(0.001278797863051,0.000026223766326,-0.000462397991214,-0.003395810257643,-0.004052215255797,-0.004899225663394,0.004958434030414,-0.004634920042008,-0.024888755753636,-0.000472131679999,0.003482376690954,0.013037771917880) * MODEL9_texOff(vec2(0,1));
res += mat4x3(0.000351833645254,-0.000477836001664,0.000096225194284,0.003340978175402,0.000637366378214,-0.000792700215243,0.002915170276538,0.002088634530082,-0.000160704526934,-0.001122495625168,-0.002929178532213,-0.000814881816041) * MODEL9_texOff(vec2(1,-1));
res += mat4x3(0.002521165646613,0.002336458768696,0.001388397300616,0.000665997271426,-0.000610748364124,-0.003875027643517,-0.004875729791820,-0.005255775526166,-0.001076794345863,0.012766418978572,0.014558017253876,0.005888886284083) * MODEL9_texOff(vec2(1,0));
res += mat4x3(0.000296845450066,0.001300707343034,0.002316126599908,-0.001413937774487,0.000416528753703,0.004489784594625,-0.000716901267879,-0.000464762240881,-0.002392406109720,-0.004818356130272,-0.001343914540485,0.006310716271400) * MODEL9_texOff(vec2(1,1));
res += mat4x3(-0.000860772153828,0.001117444480769,0.001128277042881,0.005865591112524,-0.001720052561723,-0.002033053897321,0.000547942065168,-0.000486469740281,0.000222451664740,0.004292284604162,0.002097452757880,0.000828543386888) * MODEL10_texOff(vec2(-1,-1));
res += mat4x3(-0.000191161045223,-0.000105088212877,-0.000324453489156,-0.024041706696153,-0.009471357800066,0.010056553408504,-0.005903713405132,0.002059224760160,0.003533734474331,0.008261014707386,0.008449343033135,0.006065428256989) * MODEL10_texOff(vec2(-1,0));
res += mat4x3(-0.001121538574807,-0.001880858209915,-0.000197399233002,0.003429358825088,0.009113002568483,-0.002836133586243,0.000912643212359,0.002145511098206,-0.000963304890320,-0.000666600419208,0.000364286563126,0.003242494538426) * MODEL10_texOff(vec2(-1,1));
res += mat4x3(-0.008791781030595,0.003227853681892,0.005277177318931,-0.001595002249815,0.001740518724546,0.001391504192725,0.010740633122623,-0.007315652910620,-0.003538123797625,0.010622842237353,0.004499380011111,0.000381017394830) * MODEL10_texOff(vec2(0,-1));
res += mat4x3(0.017809363082051,0.018851878121495,-0.016558434814215,0.019889473915100,-0.012581191025674,-0.016575122252107,-0.003144403686747,-0.026135388761759,0.023618020117283,0.013168357312679,0.016304904595017,0.017162328585982) * MODEL10_texOff(vec2(0,0));
res += mat4x3(0.004408418666571,-0.002610867377371,-0.020578259602189,-0.000950613117311,0.003128563286737,0.021172229200602,-0.003063954412937,-0.001813934999518,0.013678078539670,-0.000779153546318,0.001692230813205,0.006240058224648) * MODEL10_texOff(vec2(0,1));
res += mat4x3(-0.004163546487689,-0.001156969810836,0.000514471903443,-0.000505675037857,-0.000169126040419,-0.000641549064312,0.003180450992659,0.000477848312585,-0.000237878935877,-0.004140425007790,-0.002210145117715,0.000207534685615) * MODEL10_texOff(vec2(1,-1));
res += mat4x3(-0.015541058965027,0.009004417806864,0.006601832341403,-0.000920430407859,0.001697720261291,0.001622751588002,0.006917963735759,-0.002210965845734,-0.007252901326865,-0.004751965869218,-0.005549480672926,-0.006361431907862) * MODEL10_texOff(vec2(1,0));
res += mat4x3(0.000047550438467,0.005411906633526,0.002893273252994,-0.001642266754061,-0.001177482772619,-0.001472408301197,-0.001450608135201,-0.001388957956806,-0.000091274465376,-0.000235732048168,-0.000600649218541,-0.001671171281487) * MODEL10_texOff(vec2(1,1));
res += mat4x3(0.001810671412386,0.000471581268357,-0.000181528535904,0.000146060148836,0.000829379714560,0.001948542078026,-0.000386526866350,-0.000072136448580,-0.000376732990844,0.003547660307959,0.001614646404050,0.000059786569182) * MODEL11_texOff(vec2(-1,-1));
res += mat4x3(0.000540947832633,0.002159366849810,0.001857923227362,-0.001368694589473,-0.007064825389534,-0.001491025090218,-0.001264310558327,-0.002029537688941,-0.001559294760227,0.002692139707506,0.000297152582789,0.002090703463182) * MODEL11_texOff(vec2(-1,0));
res += mat4x3(0.000341349892551,-0.000031983465306,0.000710811640602,0.003028923645616,0.002418106188998,0.002567142015323,0.001500693731941,0.000270566437393,-0.002452590037137,-0.001288008876145,-0.001972140045837,0.000432184664533) * MODEL11_texOff(vec2(-1,1));
res += mat4x3(0.004310474731028,0.001671638921835,-0.000282680062810,0.001905111828819,-0.004077194724232,-0.002587166847661,0.004868294578046,-0.006101596169174,-0.006711489520967,-0.020781133323908,0.003086292184889,0.007427799515426) * MODEL11_texOff(vec2(0,-1));
res += mat4x3(0.007696435321122,0.011621376499534,0.013340884819627,-0.034152615815401,0.014070603996515,0.024883903563023,-0.009709416888654,0.009267043322325,0.011372043751180,0.014548799023032,0.013320479542017,-0.016820456832647) * MODEL11_texOff(vec2(0,0));
res += mat4x3(-0.000700857839547,-0.000146881444380,0.000629314570688,0.001354309380986,0.008258814923465,-0.014374261721969,0.010597709566355,0.011183313094079,-0.020010985434055,-0.004142649006099,-0.004328139126301,0.002402821788564) * MODEL11_texOff(vec2(0,1));
res += mat4x3(-0.003517762059346,-0.002719916868955,-0.000407073734095,-0.000600702536758,-0.000901433755644,0.001093489350751,0.000864073925186,0.000540191773325,0.000404356833315,0.001257785945199,0.000753778091166,-0.000245088886004) * MODEL11_texOff(vec2(1,-1));
res += mat4x3(-0.000747169775423,0.000061136794102,-0.001795735675842,0.013553702272475,0.007441952358931,-0.004808892030269,-0.004439079668373,-0.000237763480982,0.003208382986486,-0.003271909430623,-0.002830252284184,0.000046230998123) * MODEL11_texOff(vec2(1,0));
res += mat4x3(-0.000646482338198,-0.002198581350967,-0.001367319258861,0.003387058619410,-0.003654431086034,-0.006342764478177,-0.002764107193798,0.003180427243933,0.000458270544186,0.001336761866696,0.000206288474146,-0.001489502727054) * MODEL11_texOff(vec2(1,1));
res += mat4x3(-0.003820624668151,-0.005761672277004,-0.002605087589473,-0.000954597664531,0.000179894821486,0.000378691329388,0.000087085412815,0.001920177368447,0.002100142184645,-0.003432817757130,-0.001701340312138,-0.000140199394082) * MODEL12_texOff(vec2(-1,-1));
res += mat4x3(-0.003770039649680,0.001677902182564,0.007223092950881,0.002828925382346,0.003217930672690,0.000278846273432,0.006513522006571,0.004596851300448,0.001714957412332,-0.001735494472086,-0.002556686522439,-0.002878080820665) * MODEL12_texOff(vec2(-1,0));
res += mat4x3(0.000360102625564,0.000848891504575,-0.000464261538582,0.001334028085694,-0.002015320118517,-0.004595546983182,-0.000611039751675,0.000632529263385,0.003588375868276,0.000579632120207,-0.000372131384211,-0.001842025434598) * MODEL12_texOff(vec2(-1,1));
res += mat4x3(0.016110531985760,-0.009026007726789,-0.008330526761711,-0.002601676154882,0.003481726162136,0.002257751300931,-0.023504160344601,-0.010676709935069,-0.000769325182773,0.018908506259322,0.004736374132335,-0.001025007572025) * MODEL12_texOff(vec2(0,-1));
res += mat4x3(-0.011442571878433,-0.011493521742523,0.016627216711640,0.031191594898701,-0.000717679562513,-0.017806319519877,-0.009852256625891,-0.024936683475971,-0.037454031407833,-0.004456793889403,0.009127244353294,0.021748986095190) * MODEL12_texOff(vec2(0,0));
res += mat4x3(0.004047249443829,0.004787545185536,-0.002137411385775,0.001520741265267,-0.006505264900625,-0.010218851268291,-0.003732797456905,-0.002613188698888,-0.001459595281631,0.002605545800179,-0.001252717571333,-0.008902037516236) * MODEL12_texOff(vec2(0,1));
res += mat4x3(0.001356827677228,-0.001184669788927,-0.001276980037801,0.000255701801507,0.003214156022295,0.002374149160460,-0.001854215632193,0.001195814344101,0.001522061415017,-0.001332859741524,-0.003426245879382,-0.003436528146267) * MODEL12_texOff(vec2(1,-1));
res += mat4x3(0.001084663905203,0.001421851222403,0.001234736642800,0.005434157326818,-0.005212860647589,-0.003558072028682,0.001174279139377,-0.001315874280408,-0.003000547643751,-0.004954520147294,-0.003800724167377,-0.003901989199221) * MODEL12_texOff(vec2(1,0));
res += mat4x3(-0.000869533105288,-0.000446131685749,0.000637950550299,-0.001358903944492,-0.004011274781078,-0.000062088729464,0.001372555736452,0.000947504304349,0.000419452844653,0.000551705888938,-0.001618961454369,-0.005199587903917) * MODEL12_texOff(vec2(1,1));
return vec4(res, 0);
}

//!HOOK LUMA
//!WHEN OUTPUT.w LUMA.w 2.200 * > OUTPUT.h LUMA.h 2.200 * > *
//!COMPONENTS 4
//!BIND MODEL7
//!BIND MODEL8
//!BIND MODEL9
//!BIND MODEL10
//!BIND MODEL11
//!BIND MODEL12
//!SAVE SUBCONV3
//!DESC [AiUpscale_HQ_Sharp_3x_LineArt] sub-pixel convolution 3

vec4 hook()
{
vec3 res = vec3(-0.000993274501525,-0.000214719737414,-0.000263022404397);
res += mat4x3(-0.001270181266591,0.001685824594460,0.001333272201009,-0.003240296849981,-0.000150406616740,0.000640996964648,-0.000184061616892,0.002176551846787,0.001726825605147,-0.001271195011213,-0.000578496430535,-0.000770138925873) * MODEL7_texOff(vec2(-1,-1));
res += mat4x3(0.003513665404171,0.000463382632006,-0.002785942982882,-0.009923377074301,-0.007693639025092,-0.004596718121320,-0.001750899711624,-0.006841311696917,-0.004767144564539,-0.001002420205623,-0.000753376632929,-0.001467720605433) * MODEL7_texOff(vec2(-1,0));
res += mat4x3(-0.001392863923684,-0.001549703651108,0.002554491162300,0.000092933492851,-0.001746818772517,-0.005850878078490,0.002063368447125,0.003755645826459,0.002683725440875,-0.000843925809022,-0.001196503173560,-0.000442188669695) * MODEL7_texOff(vec2(-1,1));
res += mat4x3(0.003231533803046,0.008315290324390,0.005236096214503,-0.001545633771457,-0.004441317170858,-0.002033163094893,0.014896513894200,-0.008938671089709,-0.000830979377497,0.007478346582502,0.001668712706305,-0.000254092796240) * MODEL7_texOff(vec2(0,-1));
res += mat4x3(-0.008691353723407,-0.016694106161594,-0.007569743320346,0.022739851847291,0.028181742876768,0.014726217836142,-0.028371194377542,-0.014991957694292,0.028952930122614,0.014840728603303,0.019889378920197,0.017109436914325) * MODEL7_texOff(vec2(0,0));
res += mat4x3(0.003439184976742,0.008886395953596,0.007644456811249,-0.003722114721313,-0.002160723786801,0.007909831590950,0.001107088988647,0.001239663804881,-0.006102886050940,0.000207099641557,0.000511133810505,0.005013484973460) * MODEL7_texOff(vec2(0,1));
res += mat4x3(0.006097240373492,0.002911109477282,-0.000039231224946,-0.003542687511072,-0.003325921483338,-0.001630964456126,-0.012129083275795,0.000637227087282,0.000834232545458,-0.003569104243070,-0.001727832597680,-0.000758022535592) * MODEL7_texOff(vec2(1,-1));
res += mat4x3(-0.014294182881713,-0.011224944144487,0.001358769834042,-0.009434000588953,-0.005723699927330,-0.004369828384370,-0.002791876904666,0.021723471581936,-0.001212710165419,-0.000361179932952,0.001707569463179,-0.002061327686533) * MODEL7_texOff(vec2(1,0));
res += mat4x3(0.004448854364455,0.004250041674823,-0.004551221616566,-0.001663342933170,-0.005565673578531,-0.009091052226722,0.001091503771022,0.000662433274556,-0.007855322211981,-0.001260061166249,-0.002703323960304,-0.001400463050231) * MODEL7_texOff(vec2(1,1));
res += mat4x3(-0.000533675076440,-0.000125861537526,-0.000117462361231,0.001385559444316,0.000150679741637,0.000683437974658,0.001396054867655,0.000953385024332,-0.002508373931050,-0.003698065876961,0.001660442911088,0.000552179117221) * MODEL8_texOff(vec2(-1,-1));
res += mat4x3(-0.002163378521800,0.000989048974589,-0.000067391323682,-0.000351332651917,-0.004999613389373,-0.002002579858527,0.001501050195657,0.000925280037336,-0.002744142664596,0.001651533530094,0.000377510441467,-0.000295951438602) * MODEL8_texOff(vec2(-1,0));
res += mat4x3(0.000235573097598,0.000772017228883,-0.000572613265831,0.002131956396624,0.000064044354076,-0.001965048257262,-0.001403236878105,0.001412769081071,0.002865967107937,-0.000189586484339,-0.001038485439494,0.000358617195161) * MODEL8_texOff(vec2(-1,1));
res += mat4x3(-0.001457595964894,-0.002559520769864,-0.000994041212834,-0.029982933774590,-0.002972609363496,0.003056887304410,0.003906513098627,-0.005733007565141,0.000685133039951,0.012437922880054,-0.002076015342027,0.000904886343051) * MODEL8_texOff(vec2(0,-1));
res += mat4x3(-0.024197522550821,0.001087671029381,0.013212038204074,0.027185402810574,0.024453047662973,-0.028681742027402,-0.028251914307475,0.002881871536374,0.029618849977851,0.036949515342712,-0.032568253576756,0.000005391684681) * MODEL8_texOff(vec2(0,0));
res += mat4x3(-0.005524094682187,0.005340811796486,0.017068497836590,-0.001374087994918,-0.004435714799911,0.001845723018050,0.002632804214954,0.001733166631311,-0.008387054316700,0.000686170998961,-0.009770611301064,-0.001950762351044) * MODEL8_texOff(vec2(0,1));
res += mat4x3(-0.003220892045647,-0.002101221354678,-0.000469326914754,-0.002434988738969,-0.003399060806260,-0.001218478428200,0.001700964872725,0.001114088343456,0.001283293240704,-0.005234769545496,-0.000516448577400,-0.001150195952505) * MODEL8_texOff(vec2(1,-1));
res += mat4x3(-0.018398234620690,0.013517805375159,0.005445782095194,-0.004426651168615,0.008745952509344,0.012793106958270,0.004043818451464,-0.018170250579715,-0.012048067525029,-0.005255038850009,-0.008283931761980,0.012715289369226) * MODEL8_texOff(vec2(1,0));
res += mat4x3(0.000473801628686,0.006796719972044,0.000407115876442,-0.000193044412299,0.000394902308472,0.000963329570368,0.000526201270986,0.001369589590468,0.010540500283241,0.000510931073222,0.002500395989046,0.001638453220949) * MODEL8_texOff(vec2(1,1));
res += mat4x3(0.001607561483979,0.002196719171479,0.001123758731410,0.000271905475529,-0.000132014087285,0.000925109779928,-0.001302700489759,-0.000554519356228,-0.000637035002001,-0.002939107362181,-0.000398503296310,-0.000393186463043) * MODEL9_texOff(vec2(-1,-1));
res += mat4x3(0.003878040704876,0.003493600990623,0.002158129354939,-0.000498402980156,-0.000835329992697,0.000631670001894,-0.001750569907017,-0.000136527451104,-0.000279053812847,-0.003466572845355,-0.003511720802635,-0.003470832249150) * MODEL9_texOff(vec2(-1,0));
res += mat4x3(-0.001804639236070,-0.002247631317005,-0.000697138428222,0.000261250766926,0.000204692754778,0.000044524891564,0.000248561933404,-0.000819098553620,-0.000939518795349,0.001435578102246,0.000252534955507,-0.000085848470917) * MODEL9_texOff(vec2(-1,1));
res += mat4x3(0.008770114742219,0.002525818068534,0.003050115890801,-0.010580545291305,0.007329808082432,0.002419487107545,0.000839306623675,-0.001221737707965,0.001013218308799,0.008376021869481,-0.006072554271668,-0.005655977874994) * MODEL9_texOff(vec2(0,-1));
res += mat4x3(0.023901063948870,0.029347652569413,0.020415466278791,0.006041813641787,0.023898256942630,-0.022525088861585,0.023735061287880,0.025530349463224,0.012949846684933,0.011851588264108,0.019098782911897,0.020276350900531) * MODEL9_texOff(vec2(0,0));
res += mat4x3(-0.000326317676809,0.002481746254489,0.010930891148746,-0.002238772111014,-0.001552808913402,-0.004298286046833,0.002667394699529,0.006375639699399,0.013873567804694,-0.000748156337067,-0.000975743692834,-0.000157935006428) * MODEL9_texOff(vec2(0,1));
res += mat4x3(-0.003386557102203,-0.001569244428538,0.000302247673972,0.009769333526492,0.003166419686750,-0.000175858134753,-0.002251588972285,-0.001850716536865,-0.000308246380882,0.011723222211003,0.004280088935047,-0.000964482547715) * MODEL9_texOff(vec2(1,-1));
res += mat4x3(-0.003568165935576,-0.005257024429739,-0.006217022892088,0.010080858133733,-0.001120377564803,-0.016341989859939,0.005298471078277,0.003695201361552,0.000820898683742,-0.015634628012776,0.000895931036212,0.012551383115351) * MODEL9_texOff(vec2(1,0));
res += mat4x3(-0.000219013702008,-0.000098863740277,-0.000200049224077,-0.002234063111246,-0.002368995221332,0.002930310321972,-0.001023537712172,-0.000154084831593,-0.001102028996684,-0.004300060681999,-0.007575981318951,-0.011908032000065) * MODEL9_texOff(vec2(1,1));
res += mat4x3(-0.001034135464579,-0.000079785255366,0.000690251123160,-0.000118749288958,-0.002056553727016,-0.001322430558503,0.000910955655854,-0.000214299143408,-0.000258838699665,0.003381957765669,0.001614627195522,0.000031239425880) * MODEL10_texOff(vec2(-1,-1));
res += mat4x3(0.000201266710064,0.001805600128137,0.001641643699259,0.004087843000889,-0.009063123725355,-0.002836003899574,-0.002423165598884,0.000672378228046,0.000705953221768,0.003566179890186,0.002659992547706,0.003581946948543) * MODEL10_texOff(vec2(-1,0));
res += mat4x3(-0.002921976847574,-0.002573749050498,0.000414257840021,-0.000374131923309,0.001549384323880,0.009490770287812,-0.000300564017380,0.002126889303327,-0.001651310827583,0.000807531061582,0.001505505642854,0.001464100671001) * MODEL10_texOff(vec2(-1,1));
res += mat4x3(-0.002861080691218,0.003956059459597,0.004760100040585,-0.003117284271866,0.001029205159284,0.000680049299262,0.001023903954774,-0.006080988794565,-0.002881454536691,-0.018331561237574,-0.006404211744666,-0.000147960075992) * MODEL10_texOff(vec2(0,-1));
res += mat4x3(0.021855976432562,0.000305129186017,-0.014934920705855,0.035487577319145,0.026890251785517,-0.008481866680086,-0.018387934193015,-0.011771323159337,0.026794353500009,-0.021577645093203,-0.034508630633354,-0.033124607056379) * MODEL10_texOff(vec2(0,0));
res += mat4x3(0.002696896437556,-0.007510509807616,-0.003216647543013,-0.001916929497384,-0.018845262005925,-0.011891674250364,-0.000503390096128,0.001965009374544,0.010149765759706,-0.001352313323878,-0.002145377453417,-0.008579406887293) * MODEL10_texOff(vec2(0,1));
res += mat4x3(-0.008999718353152,-0.001050171558745,0.002030945150182,-0.001668554963544,0.000224103539949,0.000570079893805,0.012711465358734,-0.001058966037817,-0.000588843424339,-0.001360178459436,0.000653455615975,0.000924313731957) * MODEL10_texOff(vec2(1,-1));
res += mat4x3(-0.021505445241928,0.024025391787291,0.002349982270971,-0.005840819329023,0.000294370169286,0.000584507768508,0.015221921727061,-0.017035039141774,-0.006242167204618,-0.004942163359374,-0.005627780221403,-0.004265027120709) * MODEL10_texOff(vec2(1,0));
res += mat4x3(-0.000948222063016,0.013476444408298,-0.010356921702623,-0.003943388350308,0.000885410176124,-0.000990248518065,-0.001919797388837,-0.003658300265670,0.004869364667684,0.002189671387896,0.002279838081449,0.000369821733329) * MODEL10_texOff(vec2(1,1));
res += mat4x3(0.002635097829625,0.001462916377932,0.000779698544648,-0.001266151783057,0.001267022686079,0.001880908501334,-0.000847034330945,0.000589757226408,0.000267043127678,0.002982295816764,-0.001475664786994,-0.002917716978118) * MODEL11_texOff(vec2(-1,-1));
res += mat4x3(0.001165275578387,0.001849040505476,0.001719954423606,-0.002675236435607,-0.001513140974566,0.000255892111454,-0.002336629200727,-0.002462070900947,-0.001341975759715,0.003171922173351,0.004228628240526,0.007098517380655) * MODEL11_texOff(vec2(-1,0));
res += mat4x3(0.000008927273484,0.000151861124323,0.000380967190722,0.001166241709143,-0.000174426211743,-0.001798202050850,0.000634453841485,0.000101277131762,-0.002825136063620,-0.000284362875391,-0.001967082265764,-0.000200111404411) * MODEL11_texOff(vec2(-1,1));
res += mat4x3(-0.009865160100162,-0.002027504611760,0.000352007802576,-0.005099979229271,-0.000835211190861,-0.003303247969598,0.002636343939230,-0.006362299900502,-0.004941342398524,-0.015985785052180,0.013869879767299,0.011660776101053) * MODEL11_texOff(vec2(0,-1));
res += mat4x3(-0.008364908397198,-0.015114987269044,-0.015470493584871,0.012800009921193,0.025039469823241,-0.003626975463703,0.002245929324999,0.006824147887528,0.007768336683512,0.018389347940683,0.001525703002699,-0.034743491560221) * MODEL11_texOff(vec2(0,0));
res += mat4x3(0.001538794138469,0.002297966973856,0.000192945779418,-0.002579467138276,-0.004901551641524,-0.009773327969015,0.008205815218389,0.002918741898611,-0.010989461094141,-0.003636536886916,-0.001423900481313,0.006058893632144) * MODEL11_texOff(vec2(0,1));
res += mat4x3(-0.016647122800350,-0.004173296038061,-0.000397523836000,0.002008527750149,-0.000941712292843,-0.001599971554242,0.001604926423170,-0.000648270943202,-0.001308487961069,0.001099886838347,-0.001696759718470,-0.000560009328183) * MODEL11_texOff(vec2(1,-1));
res += mat4x3(-0.018021497875452,-0.029278615489602,-0.029363859444857,0.021012980490923,-0.021452292799950,-0.012824013829231,-0.017434496432543,0.001880719326437,0.004991755820811,-0.000846909009852,0.003288476960734,0.006737562362105) * MODEL11_texOff(vec2(1,0));
res += mat4x3(0.000224932227866,0.000362902384950,-0.002634575124830,-0.001983307069167,-0.005270663183182,0.020178185775876,0.000299738516333,0.011638591997325,-0.009664319455624,0.000098495933344,-0.001644228817895,-0.001741462270729) * MODEL11_texOff(vec2(1,1));
res += mat4x3(-0.003396254498512,0.000676945550367,-0.002005136804655,-0.000237303451286,-0.000303180364426,0.000305843015667,-0.001179867889732,-0.000646242231596,-0.000060786769609,-0.000810467870906,-0.000693309877533,-0.000238629450905) * MODEL12_texOff(vec2(-1,-1));
res += mat4x3(-0.001602286356501,0.000971627305262,-0.000944218365476,0.004089837893844,0.002003598026931,0.001794390496798,-0.001673881197348,-0.001472545787692,-0.001270075794309,0.001818610238843,0.001181078609079,0.000515331397764) * MODEL12_texOff(vec2(-1,0));
res += mat4x3(-0.000274686724879,0.000002512249239,-0.000958083546720,0.001336413435638,-0.001100931782275,-0.000478044501506,0.000266450690106,0.000592360505834,0.000015816254745,0.000524443981703,0.000415073940530,0.000732529733796) * MODEL12_texOff(vec2(-1,1));
res += mat4x3(0.013753354549408,-0.018189439550042,-0.006181243807077,-0.002730724867433,0.003051372477785,0.001329487306066,0.005420888774097,-0.002184206852689,-0.003758440259844,0.008918223902583,0.001894543296658,-0.001735740457661) * MODEL12_texOff(vec2(0,-1));
res += mat4x3(-0.014973655343056,-0.007553773000836,0.030435951426625,0.013112789951265,0.001614548265934,-0.014709334820509,-0.007924932055175,-0.000933882896788,0.006911332253367,-0.009628276340663,-0.003265163861215,0.005273783113807) * MODEL12_texOff(vec2(0,0));
res += mat4x3(0.003961450420320,0.003445701440796,-0.003903566161171,0.001689832424745,-0.002661593025550,-0.016491917893291,0.000260306434939,-0.001620237599127,-0.005810362286866,0.001572784036398,-0.002385503612459,-0.009954256005585) * MODEL12_texOff(vec2(0,1));
res += mat4x3(0.002937601413578,-0.001089469296858,-0.003189662238583,-0.000378336466383,0.003054337343201,0.002542949281633,0.015695774927735,0.007547708693892,-0.000599355378654,0.009179793298244,-0.000228495817282,-0.003344695782289) * MODEL12_texOff(vec2(1,-1));
res += mat4x3(0.000478009955259,-0.002563079819083,-0.001841914956458,0.022592414170504,-0.004802746232599,-0.006671210285276,0.011715627275407,0.015202700160444,0.021480780094862,0.000330872397171,0.007415572647005,0.011371775530279) * MODEL12_texOff(vec2(1,0));
res += mat4x3(0.000400549935875,0.001404074719176,0.001767228357494,0.000764105119742,-0.007758940104395,0.003294453723356,-0.000426024314947,0.000345705600921,0.004083308856934,0.002448306884617,0.000124401747598,-0.004323707427830) * MODEL12_texOff(vec2(1,1));
return vec4(res, 0);
}

//!HOOK LUMA
//!WHEN OUTPUT.w LUMA.w 2.200 * > OUTPUT.h LUMA.h 2.200 * > *
//!WIDTH LUMA.w 3 *
//!HEIGHT LUMA.h 3 *
//!BIND SUBCONV1
//!BIND SUBCONV2
//!BIND SUBCONV3
//!BIND LANCZOS3
//!DESC [AiUpscale_HQ_Sharp_3x_LineArt] depth to space

vec4 hook()
{
vec2 fcoord = fract(SUBCONV1_pos * SUBCONV1_size);
vec2 base = SUBCONV1_pos + (vec2(0.5) - fcoord) * SUBCONV1_pt;
ivec2 index = ivec2(fcoord * vec2(3));
mat3 res = mat3(SUBCONV1_tex(base).rgb,SUBCONV2_tex(base).rgb,SUBCONV3_tex(base).rgb);
return vec4(res[index.x][index.y] + float(LANCZOS3_texOff(0)), 0, 0, 1);
}
